Percepio Trace Recorder v4.11.0
Loading...
Searching...
No Matches
trcStreamPortConfig.h
1/*
2* Trace Recorder for Tracealyzer v4.11.0
3* Copyright 2025 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#include <trcTypes.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22/* Type flags */
23#define TRC_STREAM_PORT_RINGBUFFER_MODE_STOP_WHEN_FULL (0U)
24#define TRC_STREAM_PORT_RINGBUFFER_MODE_OVERWRITE_WHEN_FULL (1U)
25
31#define TRC_CFG_STREAM_PORT_BUFFER_SIZE 10240
32
48#define TRC_CFG_STREAM_PORT_RINGBUFFER_MODE TRC_STREAM_PORT_RINGBUFFER_MODE_OVERWRITE_WHEN_FULL
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif /*(TRC_USE_TRACEALYZER_RECORDER == 1)*/
55
56#endif /* TRC_STREAM_PORT_CONFIG_H */