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:
Aron Lander 2023-07-19 13:55:51 +02:00 committed by Anas Nashif
commit 6f62768492
2 changed files with 18 additions and 1 deletions

View file

@ -33,6 +33,8 @@ if(CONFIG_PERCEPIO_TRACERECORDER)
${TRACERECORDER_DIR}/trcString.c ${TRACERECORDER_DIR}/trcString.c
${TRACERECORDER_DIR}/trcTask.c ${TRACERECORDER_DIR}/trcTask.c
${TRACERECORDER_DIR}/trcTimestamp.c ${TRACERECORDER_DIR}/trcTimestamp.c
${TRACERECORDER_DIR}/trcDependency.c
${TRACERECORDER_DIR}/trcRunnable.c
) )
if(CONFIG_PERCEPIO_TRC_CFG_STREAM_PORT_RTT) if(CONFIG_PERCEPIO_TRC_CFG_STREAM_PORT_RTT)
@ -68,6 +70,17 @@ if(CONFIG_PERCEPIO_TRACERECORDER)
) )
endif() 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( zephyr_include_directories(
${TRACERECORDER_DIR}/kernelports/Zephyr/include ${TRACERECORDER_DIR}/kernelports/Zephyr/include
${TRACERECORDER_DIR}/kernelports/Zephyr/config ${TRACERECORDER_DIR}/kernelports/Zephyr/config
@ -75,4 +88,8 @@ if(CONFIG_PERCEPIO_TRACERECORDER)
${TRACERECORDER_DIR}/include ${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() endif()

View file

@ -321,7 +321,7 @@ manifest:
groups: groups:
- crypto - crypto
- name: TraceRecorderSource - name: TraceRecorderSource
revision: bc839bf94904bcdb91b33760e918afbef82e3ab4 revision: 1ede7ce8e7ab226e9a84d95266241ba3f38d91d2
path: modules/debug/TraceRecorder path: modules/debug/TraceRecorder
groups: groups:
- debug - debug