1 /* 2 * Trace Recorder for Tracealyzer v4.9.2 3 * Copyright 2023 Percepio AB 4 * www.percepio.com 5 * 6 * SPDX-License-Identifier: Apache-2.0 7 * 8 * Main configuration parameters for the trace recorder library. 9 * More settings can be found in trcStreamingConfig.h. 10 */ 11 12 #ifndef TRC_KERNEL_PORT_CONFIG_H 13 #define TRC_KERNEL_PORT_CONFIG_H 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 /** 20 * @def TRC_CFG_USE_GCC_STATEMENT_EXPR 21 * @brief Enable/Disable the use of GCC statement expressions in the 22 * recorder. 23 */ 24 #define TRC_CFG_USE_GCC_STATEMENT_EXPR 1 25 26 /** 27 * @def TRC_CFG_USE_SYSCALL_EXTENSION 28 * @brief Enable/Disable the use of the syscall extension (i.e. send syscall 29 * traces only by id instead of by name and id). 30 */ 31 #ifdef CONFIG_PERCEPIO_TRC_CFG_USE_SYSCALL_EXTENSION 32 #define TRC_CFG_USE_SYSCALL_EXTENSION 1 33 #else 34 #define TRC_CFG_USE_SYSCALL_EXTENSION 0 35 #endif 36 37 #ifdef __cplusplus 38 } 39 #endif 40 41 #endif /* TRC_KERNEL_PORT_CONFIG_H */ 42