7#ifndef ZEPHYR_INCLUDE_TRACING_TRACING_FORMAT_H
8#define ZEPHYR_INCLUDE_TRACING_TRACING_FORMAT_H
35#define TRACING_STRING(fmt, ...) \
37 tracing_format_string(fmt, ##__VA_ARGS__); \
45#define TRACING_FORMAT_DATA(x) \
46 ((struct tracing_data){.data = (uint8_t *)&(x), .length = sizeof((x))})
53#define TRACING_DATA(...) \
55 struct tracing_data arg[] = {__VA_ARGS__}; \
57 tracing_format_data(arg, sizeof(arg) / \
58 sizeof(struct tracing_data)); \
Common toolchain abstraction.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
A structure to represent tracing data format.
Definition tracing_format.h:24
uint8_t * data
Definition tracing_format.h:25
uint32_t length
Definition tracing_format.h:26