1 /*
2  * Trace Recorder for Tracealyzer v4.8.1
3  * Copyright 2023 Percepio AB
4  * www.percepio.com
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  *
8  * Configuration parameters for the trace recorder library in streaming mode.
9  * Read more at http://percepio.com/2016/10/05/rtos-tracing/
10  */
11 
12 #ifndef TRC_STREAMING_CONFIG_H
13 #define TRC_STREAMING_CONFIG_H
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /**
20  * @def TRC_CFG_ENTRY_SLOTS
21  * @brief The maximum number of objects and symbols that can be stored. This includes:
22  * - Task names
23  * - Named ISRs (vTraceSetISRProperties)
24  * - Named kernel objects (vTraceStoreKernelObjectName)
25  * - User event channels (xTraceStringRegister)
26  *
27  * If this value is too small, not all symbol names will be stored and the
28  * trace display will be affected. In that case, there will be warnings
29  * (as User Events) from TzCtrl task, that monitors this.
30  */
31 #define TRC_CFG_ENTRY_SLOTS 50
32 
33 /**
34  * @def TRC_CFG_ENTRY_SYMBOL_MAX_LENGTH
35  * @brief The maximum length of symbol names, including:
36  * - Task names
37  * - Named ISRs (vTraceSetISRProperties)
38  * - Named kernel objects (vTraceStoreKernelObjectName)
39  * - User event channel names (xTraceStringRegister)
40  *
41  * If longer symbol names are used, they will be truncated by the recorder,
42  * which will affect the trace display. In that case, there will be warnings
43  * (as User Events) from TzCtrl task, that monitors this.
44  */
45 #define TRC_CFG_ENTRY_SYMBOL_MAX_LENGTH 28
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif /* TRC_STREAMING_CONFIG_H */
52