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#ifdef __cplusplus
15extern "C" {
16#endif
17
23#define TRC_CFG_STREAM_PORT_TRACE_FILE "trace.psf"
24
25
33#define TRC_CFG_STREAM_PORT_USE_INTERNAL_BUFFER 0
34
40#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_SIZE 10240
41
47#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_TRANSFER_MODE TRC_INTERNAL_EVENT_BUFFER_OPTION_TRANSFER_MODE_ALL
48
55#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_SIZE 4096
56
65#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_TRANSFER_AGAIN_SIZE_LIMIT 1024
66
75#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_TRANSFER_AGAIN_COUNT_LIMIT 5
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif /* TRC_STREAM_PORT_CONFIG_H */