|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Hook points used by tracing backends. More...
Topics | |
| Syscall Tracing | |
| Tracing hooks for system calls. | |
| User-defined event | |
| Tracing hooks for user-defined named events. | |
Files | |
| file | tracing.h |
| Main header file for tracing subsystem API. | |
| file | tracing_default_hooks.h |
| Default implementations of the low-level sys_trace_* hook layer. | |
| file | tracing_hooks.h |
| Canonical tracing hook list. | |
Macros | |
| #define | sys_trace_sys_init_enter(entry, level) |
| Called when entering an init function. | |
| #define | sys_trace_sys_init_exit(entry, level, result) |
| Called when exiting an init function. | |
Functions | |
| void | sys_trace_isr_enter (void) |
| Called when entering an ISR. | |
| void | sys_trace_isr_exit (void) |
| Called when exiting an ISR. | |
| void | sys_trace_isr_exit_to_scheduler (void) |
| Called when exiting an ISR and switching to scheduler. | |
| void | sys_trace_idle (void) |
| Called when the cpu enters the idle state. | |
| void | sys_trace_idle_exit (void) |
| Called when the cpu exits the idle state. | |
Hook points used by tracing backends.
Macros invoked across kernel and subsystem code to mark entry, blocking, exit, and various lifecycle events.
| #define sys_trace_sys_init_enter | ( | entry, | |
| level ) |
#include <zephyr/tracing/tracing.h>
Called when entering an init function.
| #define sys_trace_sys_init_exit | ( | entry, | |
| level, | |||
| result ) |
#include <zephyr/tracing/tracing.h>
Called when exiting an init function.
| void sys_trace_idle | ( | void | ) |
#include <zephyr/tracing/tracing.h>
Called when the cpu enters the idle state.
| void sys_trace_idle_exit | ( | void | ) |
#include <zephyr/tracing/tracing.h>
Called when the cpu exits the idle state.
| void sys_trace_isr_enter | ( | void | ) |
#include <zephyr/tracing/tracing.h>
Called when entering an ISR.
| void sys_trace_isr_exit | ( | void | ) |
#include <zephyr/tracing/tracing.h>
Called when exiting an ISR.
| void sys_trace_isr_exit_to_scheduler | ( | void | ) |
#include <zephyr/tracing/tracing.h>
Called when exiting an ISR and switching to scheduler.