Percepio Trace Recorder v4.8.0.hotfix1
Loading...
Searching...
No Matches
trcSnapshotConfig.h
1/*
2 * Trace Recorder for Tracealyzer v4.8.0.hotfix1
3 * Copyright 2023 Percepio AB
4 * www.percepio.com
5 *
6 * SPDX-License-Identifier: Apache-2.0
7 *
8 * Configuration parameters for trace recorder library in snapshot mode.
9 * Read more at http://percepio.com/2016/10/05/rtos-tracing/
10 */
11
12#ifndef TRC_SNAPSHOT_CONFIG_H
13#define TRC_SNAPSHOT_CONFIG_H
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
36#define TRC_CFG_SNAPSHOT_MODE TRC_SNAPSHOT_MODE_RING_BUFFER
37
50#define TRC_CFG_EVENT_BUFFER_SIZE 1000
51
67#define TRC_CFG_INCLUDE_FLOAT_SUPPORT 0
68
82#define TRC_CFG_SYMBOL_TABLE_SIZE 800
83
84#if (TRC_CFG_SYMBOL_TABLE_SIZE == 0)
85#error "TRC_CFG_SYMBOL_TABLE_SIZE may not be zero!"
86#endif
87
88/******************************************************************************
89 *** ADVANCED SETTINGS ********************************************************
90 ******************************************************************************
91 * The remaining settings are not necessary to modify but allows for optimizing
92 * the recorder setup for your specific needs, e.g., to exclude events that you
93 * are not interested in, in order to get longer traces.
94 *****************************************************************************/
95
105#define TRC_CFG_HEAP_SIZE_BELOW_16M 0
106
133#define TRC_CFG_USE_IMPLICIT_IFE_RULES 1
134
156#define TRC_CFG_USE_16BIT_OBJECT_HANDLES 0
157
215#define TRC_CFG_USE_SEPARATE_USER_EVENT_BUFFER 0
216
226#define TRC_CFG_SEPARATE_USER_EVENT_BUFFER_SIZE 200
227
239#define TRC_CFG_UB_CHANNELS 32
240
241#ifdef __cplusplus
242}
243#endif
244
245#endif /*TRC_SNAPSHOT_CONFIG_H*/