zephyr/subsys/tracing
Galen Krulce 1cfe90d825 tracing: full reset during init
I am using the tracing module using the RAM backend on a system with
limited RAM & a buffer that can only store 300ms of tracing data. Current
tracing module starts recording during boot-up & we run out of memory prior
to executing code we actually want to trace.

By reseting buffer metadata here, I can call init() at an arbitrary point
of program execution & the tracing module will reset & start tracing.

I tested on E2E on an ARM M-class MCU by calling init & then reading
buffered tracing data via GDB

Signed-off-by: Galen Krulce <gkrulce@meta.com>
2024-04-24 17:08:24 -04:00
..
ctf pm: device_runtime: Add delay to async put 2023-12-12 10:57:34 +01:00
include iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
sysview tracing: segger-sysview: add missing thread abort enter/exit 2024-03-19 13:37:41 -05:00
test pm: device_runtime: Add delay to async put 2023-12-12 10:57:34 +01:00
user pm: device_runtime: Add delay to async put 2023-12-12 10:57:34 +01:00
CMakeLists.txt tracing: add intel ADSP memory window backend 2024-03-25 09:33:41 +01:00
Kconfig tracing: add intel ADSP memory window backend 2024-03-25 09:33:41 +01:00
tracing_backend_adsp_memory_window.c tracing: add intel ADSP memory window backend 2024-03-25 09:33:41 +01:00
tracing_backend_posix.c ctf tracing: native/host backend: Refactor to support embedded C libraries 2023-07-13 05:47:08 -04:00
tracing_backend_posix_bottom.c ctf tracing: native/host backend: Refactor to support embedded C libraries 2023-07-13 05:47:08 -04:00
tracing_backend_posix_bottom.h ctf tracing: native/host backend: Refactor to support embedded C libraries 2023-07-13 05:47:08 -04:00
tracing_backend_ram.c tracing: full reset during init 2024-04-24 17:08:24 -04:00
tracing_backend_uart.c armclang: fix compiler warnings with isprint() 2023-03-17 09:30:01 +01:00
tracing_backend_usb.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing_buffer.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing_core.c tracing: add intel ADSP memory window backend 2024-03-25 09:33:41 +01:00
tracing_format_async.c tracing: Automatic syscall tracing 2021-10-23 20:45:17 -04:00
tracing_format_common.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing_format_sync.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tracing_none.c tracing: none: Remove unnecessary headers 2023-01-09 12:07:28 -05:00
tracing_tracking.c iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00