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
/* Default file name */
19
#ifndef TRC_CFG_STREAM_PORT_TRACE_FILE
20
#define TRC_CFG_STREAM_PORT_TRACE_FILE "trace.psf"
21
#endif
22
23
/* This define will determine whether to use the internal buffer or not.
24
If file writing creates additional trace events (i.e. it uses semaphores or mutexes),
25
then the internal buffer must be enabled to avoid infinite recursion. */
26
#define TRC_CFG_STREAM_PORT_USE_INTERNAL_BUFFER 0
27
28
/*******************************************************************************
29
* Configuration Macro: TRC_CFG_STREAM_PORT_BUFFER_SIZE
30
*
31
* Specifies the size of the internal buffer, if one is used.
32
******************************************************************************/
33
#define TRC_CFG_STREAM_PORT_BUFFER_SIZE 10000
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
/* TRC_STREAM_PORT_CONFIG_H */
streamports
File
config
trcStreamPortConfig.h
Generated by
1.8.18