Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tracing_macros.h File Reference

Go to the source code of this file.

Macros

#define SYS_PORT_TRACING_TYPE_MASK(type, trace_call)    _SYS_PORT_TRACING_TYPE_MASK(type)(trace_call)
 Checks if an object type should be traced or not.
 
#define SYS_PORT_TRACING_FUNC(type, func, ...)    _SYS_PORT_TRACE_IF_NOT_DISABLED(type, _SYS_PORT_TRACING_FUNC(type, func), __VA_ARGS__)
 Tracing macro for function calls which are not directly associated with a specific type of object.
 
#define SYS_PORT_TRACING_FUNC_ENTER(type, func, ...)    _SYS_PORT_TRACE_IF_NOT_DISABLED(type, _SYS_PORT_TRACING_FUNC_ENTER(type, func), __VA_ARGS__)
 Tracing macro for the entry into a function that might or might not return a value.
 
#define SYS_PORT_TRACING_FUNC_BLOCKING(type, func, ...)
 Tracing macro for when a function blocks during its execution.
 
#define SYS_PORT_TRACING_FUNC_EXIT(type, func, ...)    _SYS_PORT_TRACE_IF_NOT_DISABLED(type, _SYS_PORT_TRACING_FUNC_EXIT(type, func), __VA_ARGS__)
 Tracing macro for when a function ends its execution.
 
#define SYS_PORT_TRACING_OBJ_INIT(obj_type, obj, ...)
 Tracing macro for the initialization of an object.
 
#define SYS_PORT_TRACING_OBJ_FUNC(obj_type, func, obj, ...)
 Tracing macro for simple object function calls often without returns or branching.
 
#define SYS_PORT_TRACING_OBJ_FUNC_ENTER(obj_type, func, obj, ...)
 Tracing macro for the entry into a function that might or might not return a value.
 
#define SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(obj_type, func, obj, timeout, ...)
 Tracing macro for when a function blocks during its execution.
 
#define SYS_PORT_TRACING_OBJ_FUNC_EXIT(obj_type, func, obj, ...)
 Tracing macro for when a function ends its execution.
 
#define SYS_PORT_TRACING_TRACKING_FIELD(type)    SYS_PORT_TRACING_TYPE_MASK(type, struct type *_obj_track_next;)
 Field added to kernel objects so they are tracked.