1# Copyright (c) 2021 Percepio AB
2# SPDX-License-Identifier: Apache-2.0
3
4if TRACING && PERCEPIO_TRACERECORDER
5
6menu "RTOS Hidden Settings"
7    visible if n
8config PERCEPIO_TRC_CFG_RECORDER_RTOS_ZEPHYR
9    bool "Zephyr"
10    default y
11
12# Zephyr does not support the classic snapshot format, only streaming
13# and streaming snapshot (RingBuffer).
14config PERCEPIO_TRC_RECORDER_MODE_STREAMING
15    bool "Streaming recorder mode"
16    default y
17
18config PERCEPIO_TRC_RECORDER_MODE_SNAPSHOT
19    bool "Snapshot recorder mode"
20    default n
21
22endmenu # "RTOS Hidden settings"
23
24menu "RTOS Specific"
25config PERCEPIO_TRC_CFG_USE_SYSCALL_EXTENSION
26    bool "Use Syscall Extension"
27    default y
28    help
29      If this option is enabled, syscalls will be submitted by id instead of name to Tracealyzer. By doing this,
30      less data will need to be transferred for each syscall that is made, however, this will also require
31      the build/syscalls-v<zephyr-version>.xml file to be loaded as an extension within Tracealyzer.
32endmenu # "RTOS Specific"
33
34# Source recorder common config
35rsource "../../config/Kconfig"
36
37endif # TRACING && PERCEPIO_TRACERECORDER
38