|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Hook points used by tracing backends. More...
Topics | |
| Conditional variable | |
| Tracing hooks for conditional variable events. | |
| Delayable work item | |
| Tracing hooks for delayable work item events. | |
| Event | |
| Tracing hooks for event events. | |
| FIFO | |
| Tracing hooks for FIFO events. | |
| GPIO | |
| Tracing hooks for GPIO events. | |
| Heap | |
| Tracing hooks for heap events. | |
| LIFO | |
| Tracing hooks for LIFO events. | |
| Mailbox | |
| Tracing hooks for mailbox events. | |
| Memory slab | |
| Tracing hooks for memory slab events. | |
| Message queue | |
| Tracing hooks for message queue events. | |
| Mutex | |
| Tracing hooks for mutex events. | |
| Network | |
| Tracing hooks for network events. | |
| Network socket | |
| Tracing hooks for network socket events. | |
| PM Device Runtime | |
| Tracing hooks for device runtime power management events. | |
| Pipe | |
| Tracing hooks for pipe events. | |
| Polling | |
| Tracing hooks for polling events. | |
| Queue | |
| Tracing hooks for queue events. | |
| Semaphore | |
| Tracing hooks for semaphore events. | |
| Stack | |
| Tracing hooks for stack events. | |
| Syscall Tracing | |
| Tracing hooks for system calls. | |
| System PM | |
| Tracing hooks for system power management events. | |
| Thread | |
| Tracing hooks for thread events. | |
| Timer | |
| Tracing hooks for timer events. | |
| Triggered work item | |
| Tracing hooks for triggered work item events. | |
| User-defined event | |
| Tracing hooks for user-defined named events. | |
| Work item | |
| Tracing hooks for work item events. | |
| Work queue | |
| Tracing hooks for work queue events. | |
Files | |
| file | tracing.h |
| Main header file for tracing subsystem API. | |
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.