tracing: move systemview into its own folder
Cleanup tracing subsystem and move systemview related files into own folder. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
a48e960af4
commit
86adcd02af
4 changed files with 11 additions and 6 deletions
|
@ -1,11 +1,5 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
zephyr_sources_ifdef(
|
|
||||||
CONFIG_SEGGER_SYSTEMVIEW
|
|
||||||
sysview_config.c
|
|
||||||
sysview.c
|
|
||||||
)
|
|
||||||
|
|
||||||
zephyr_sources_ifdef(
|
zephyr_sources_ifdef(
|
||||||
CONFIG_TRACING_CPU_STATS
|
CONFIG_TRACING_CPU_STATS
|
||||||
cpu_stats.c
|
cpu_stats.c
|
||||||
|
@ -52,3 +46,5 @@ zephyr_include_directories_ifdef(
|
||||||
zephyr_include_directories_ifdef(CONFIG_TRACING include)
|
zephyr_include_directories_ifdef(CONFIG_TRACING include)
|
||||||
|
|
||||||
add_subdirectory_ifdef(CONFIG_TRACING_CTF ctf)
|
add_subdirectory_ifdef(CONFIG_TRACING_CTF ctf)
|
||||||
|
|
||||||
|
add_subdirectory_ifdef(CONFIG_SEGGER_SYSTEMVIEW sysview)
|
||||||
|
|
9
subsys/tracing/sysview/CMakeLists.txt
Normal file
9
subsys/tracing/sysview/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
zephyr_sources_ifdef(
|
||||||
|
CONFIG_SEGGER_SYSTEMVIEW
|
||||||
|
sysview_config.c
|
||||||
|
sysview.c
|
||||||
|
)
|
||||||
|
|
||||||
|
zephyr_include_directories_ifdef(CONFIG_TRACING include)
|
Loading…
Add table
Add a link
Reference in a new issue