modules: Updated Percepio TraceRecorder to version 4.8.0.hotfix2
This version introduces support for the syscalls extension, which greatly reduces the amount of bandwidth being used for tracing syscalls. Signed-off-by: Aron Lander <aron.lander@percepio.se>
This commit is contained in:
parent
b0e9cb3f48
commit
6f62768492
2 changed files with 18 additions and 1 deletions
|
@ -33,6 +33,8 @@ if(CONFIG_PERCEPIO_TRACERECORDER)
|
|||
${TRACERECORDER_DIR}/trcString.c
|
||||
${TRACERECORDER_DIR}/trcTask.c
|
||||
${TRACERECORDER_DIR}/trcTimestamp.c
|
||||
${TRACERECORDER_DIR}/trcDependency.c
|
||||
${TRACERECORDER_DIR}/trcRunnable.c
|
||||
)
|
||||
|
||||
if(CONFIG_PERCEPIO_TRC_CFG_STREAM_PORT_RTT)
|
||||
|
@ -68,6 +70,17 @@ if(CONFIG_PERCEPIO_TRACERECORDER)
|
|||
)
|
||||
endif()
|
||||
|
||||
if (CONFIG_PERCEPIO_TRC_CFG_STREAM_PORT_ZEPHYR_SEMIHOST)
|
||||
zephyr_library_sources(
|
||||
${TRACERECORDER_DIR}/kernelports/Zephyr/streamports/Semihost/trcStreamPort.c
|
||||
)
|
||||
|
||||
zephyr_include_directories(
|
||||
${TRACERECORDER_DIR}/kernelports/Zephyr/streamports/Semihost/config
|
||||
${TRACERECORDER_DIR}/kernelports/Zephyr/streamports/Semihost/include
|
||||
)
|
||||
endif()
|
||||
|
||||
zephyr_include_directories(
|
||||
${TRACERECORDER_DIR}/kernelports/Zephyr/include
|
||||
${TRACERECORDER_DIR}/kernelports/Zephyr/config
|
||||
|
@ -75,4 +88,8 @@ if(CONFIG_PERCEPIO_TRACERECORDER)
|
|||
${TRACERECORDER_DIR}/include
|
||||
)
|
||||
|
||||
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
|
||||
COMMAND python3 ${TRACERECORDER_DIR}/kernelports/Zephyr/scripts/tz_parse_syscalls.py ${CMAKE_BINARY_DIR} ${ZEPHYR_BASE}
|
||||
)
|
||||
|
||||
endif()
|
||||
|
|
2
west.yml
2
west.yml
|
@ -321,7 +321,7 @@ manifest:
|
|||
groups:
|
||||
- crypto
|
||||
- name: TraceRecorderSource
|
||||
revision: bc839bf94904bcdb91b33760e918afbef82e3ab4
|
||||
revision: 1ede7ce8e7ab226e9a84d95266241ba3f38d91d2
|
||||
path: modules/debug/TraceRecorder
|
||||
groups:
|
||||
- debug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue