Percepio Trace Recorder  v4.6.6
trcKernelPortConfig.h
1 /*
2  * Trace Recorder for Tracealyzer v4.6.6
3  * Copyright 2021 Percepio AB
4  * www.percepio.com
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  *
8  * Configuration parameters for the kernel port.
9  * More settings can be found in trcKernelPortStreamingConfig.h and
10  * trcKernelPortSnapshotConfig.h.
11  */
12 
13 #ifndef TRC_KERNEL_PORT_CONFIG_H
14 #define TRC_KERNEL_PORT_CONFIG_H
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
24 #define TRC_CFG_CPU_CLOCK_HZ 0
25 
26 #if(TRC_CFG_CPU_CLOCK_HZ == 0)
27 #error "TRC_CFG_CPU_CLOCK_HZ needs to be set to the CPU frequency."
28 #endif
29 
34 #define TRC_CFG_USE_GCC_STATEMENT_EXPR 1
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif /* TRC_KERNEL_PORT_CONFIG_H */