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
29#define TRC_CFG_STREAM_PORT_ITM_PORT 1
30
38#define TRC_CFG_STREAM_PORT_USE_INTERNAL_BUFFER 0
39
45#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_SIZE 5120
46
52#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_TRANSFER_MODE TRC_INTERNAL_EVENT_BUFFER_OPTION_TRANSFER_MODE_ALL
53
60#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_SIZE 1024
61
70#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_TRANSFER_AGAIN_SIZE_LIMIT 256
71
80#define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_CHUNK_TRANSFER_AGAIN_COUNT_LIMIT 5
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif /* TRC_STREAM_PORT_CONFIG_H */