tracing: add RAM backend
If Zephyr is running on a coprocessor we might lack I/O such as uart or usb to output tracing datas but we might have gigabytes of RAM available. This patch allows to output trace datas to a ram buffer, which then may be retrieved using gdb. e.g: (gdb) dump binary memory channel0_0 <ram_tracing_start> \ <ram_tracing_end> Signed-off-by: Julien Massot <julien.massot@iot.bzh>
This commit is contained in:
parent
191c3088af
commit
80402f7f8b
4 changed files with 68 additions and 0 deletions
|
@ -36,6 +36,12 @@ zephyr_sources_ifdef(
|
|||
CONFIG_TRACING_BACKEND_POSIX
|
||||
tracing_backend_posix.c
|
||||
)
|
||||
|
||||
zephyr_sources_ifdef(
|
||||
CONFIG_TRACING_BACKEND_RAM
|
||||
tracing_backend_ram.c
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
zephyr_include_directories_ifdef(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue