/* * Trace Recorder for Tracealyzer v4.6.0 * Copyright 2021 Percepio AB * www.percepio.com * * SPDX-License-Identifier: Apache-2.0 * * The configuration for trace streaming ("stream ports"). */ #ifndef TRC_STREAM_PORT_CONFIG_H #define TRC_STREAM_PORT_CONFIG_H #ifdef __cplusplus extern "C" { #endif /* This define will determine whether to use the internal buffer or not. If file writing creates additional trace events (i.e. it uses semaphores or mutexes), then the internal buffer must be enabled to avoid infinite recursion. */ #define TRC_CFG_STREAM_PORT_USE_INTERNAL_BUFFER 1 /** * @def TRC_CFG_INTERNAL_BUFFER_SIZE * * @brief Configures the size of the internal buffer if used. * is enabled. */ #define TRC_CFG_STREAM_PORT_INTERNAL_BUFFER_SIZE 35000 #ifdef __cplusplus } #endif #endif /* TRC_STREAM_PORT_CONFIG_H */