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 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 /* This define will determine whether to use the internal buffer or not.
19 If file writing creates additional trace events (i.e. it uses semaphores or mutexes),
20 then the internal buffer must be enabled to avoid infinite recursion. */
21 #define TRC_CFG_STREAM_PORT_USE_INTERNAL_BUFFER 0
22 
29 #define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_SIZE 35000
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif /* TRC_STREAM_PORT_CONFIG_H */