Percepio Trace Recorder
v4.6.6
trcStreamPortConfig.h
1
/*
2
* Trace Recorder for Tracealyzer v4.6.6
3
* Copyright 2021 Percepio AB
4
* www.percepio.com
5
*
6
* SPDX-License-Identifier: Apache-2.0
7
*
8
* The configuration for trace streaming ("stream ports").
9
*/
10
11
#ifndef TRC_STREAM_PORT_CONFIG_H
12
#define TRC_STREAM_PORT_CONFIG_H
13
14
#if (TRC_USE_TRACEALYZER_RECORDER == 1)
15
16
#if (TRC_CFG_RECORDER_MODE == TRC_RECORDER_MODE_STREAMING)
17
18
#include <trcTypes.h>
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
/* Type flags */
25
#define TRC_STREAM_PORT_RINGBUFFER_MODE_STOP_WHEN_FULL (0U)
26
#define TRC_STREAM_PORT_RINGBUFFER_MODE_OVERWRITE_WHEN_FULL (1U)
27
33
#define TRC_CFG_STREAM_PORT_BUFFER_SIZE 10000
34
50
#define TRC_CFG_STREAM_PORT_RINGBUFFER_MODE TRC_STREAM_PORT_RINGBUFFER_MODE_OVERWRITE_WHEN_FULL
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
/*(TRC_CFG_RECORDER_MODE == TRC_RECORDER_MODE_STREAMING)*/
57
58
#endif
/*(TRC_USE_TRACEALYZER_RECORDER == 1)*/
59
60
#endif
/* TRC_STREAM_PORT_CONFIG_H */
streamports
RingBuffer
config
trcStreamPortConfig.h
Generated by
1.8.18