Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tracing_format.h File Reference

Go to the source code of this file.

Data Structures

struct  tracing_data
 A structure to represent tracing data format. More...
 

Macros

#define TRACING_STRING(fmt, ...)
 Macro to trace a message in string format.
 
#define TRACING_FORMAT_DATA(x)    ((struct tracing_data){.data = (uint8_t *)&(x), .length = sizeof((x))})
 Macro to format data to tracing data format.
 
#define TRACING_DATA(...)
 Macro to trace a message in tracing data format.
 

Typedefs

typedef struct tracing_data tracing_data_t
 A structure to represent tracing data format.
 

Functions

void tracing_format_string (const char *str,...)
 Tracing a message in string format.
 
void tracing_format_raw_data (uint8_t *data, uint32_t length)
 Tracing a message in raw data format.
 
void tracing_format_data (tracing_data_t *tracing_data_array, uint32_t count)
 Tracing a message in tracing data format.