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 
23 /*******************************************************************************
24 * Configuration Macro: TRC_CFG_STREAM_PORT_TCPIP_PORT
25 *
26 * Specifies the TCP/IP port.
27 ******************************************************************************/
28 #define TRC_CFG_STREAM_PORT_TCPIP_PORT 8888
29 
30 /*******************************************************************************
31 * Configuration Macro: TRC_CFG_STREAM_PORT_BUFFER_SIZE
32 *
33 * Specifies the size of the internal buffer, if one is used.
34 ******************************************************************************/
35 #define TRC_CFG_STREAM_PORT_BUFFER_SIZE 10000
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* TRC_STREAM_PORT_CONFIG_H */