zephyr/subsys/debug/CMakeLists.txt
Krzysztof Chruściński c7d7aac2bd debug: Add cpu_load module
Add module which can measure CPU idle time. Idle time is measured in
the pre/post CPU idle hooks but they are not provided by this module.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-03-12 14:03:48 +00:00

47 lines
620 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_sources_ifdef(
CONFIG_DEBUG_THREAD_INFO
thread_info.c
)
zephyr_sources_ifdef(
CONFIG_ASAN
asan_hacks.c
)
zephyr_sources_ifdef(
CONFIG_THREAD_ANALYZER
thread_analyzer.c
)
add_subdirectory_ifdef(
CONFIG_DEBUG_COREDUMP
coredump
)
add_subdirectory_ifdef(
CONFIG_GDBSTUB
gdbstub
)
zephyr_sources_ifdef(
CONFIG_MIPI_STP_DECODER
mipi_stp_decoder.c
)
add_subdirectory_ifdef(
CONFIG_SYMTAB
symtab
)
zephyr_sources_ifdef(
CONFIG_CS_TRACE_DEFMT
coresight/cs_trace_defmt.c
)
zephyr_sources_ifdef(
CONFIG_CPU_LOAD
cpu_load.c
)