|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <logging/log_instance.h>#include <sys/mpsc_packet.h>#include <sys/cbprintf.h>#include <sys/atomic.h>#include <sys/util.h>#include <string.h>#include <alloca.h>#include <syscalls/log_msg2.h>Go to the source code of this file.
Data Structures | |
| struct | log_msg2_desc |
| struct | log_msg2_trace_hdr |
| union | log_msg2_source |
| struct | log_msg2_hdr |
| struct | log_msg2_trace |
| struct | log_msg2_trace_ptr |
| struct | log_msg2 |
| struct | log_msg2_generic_hdr |
| union | log_msg2_generic |
Macros | |
| #define | LOG_MSG2_DEBUG 0 |
| #define | LOG_MSG2_DBG(...) IF_ENABLED(LOG_MSG2_DEBUG, (printk(__VA_ARGS__))) |
| #define | LOG_MSG2_GENERIC_HDR |
Typedefs | |
| typedef uint32_t | log_timestamp_t |
Functions | |
| static uint32_t | log_msg2_get_total_wlen (const struct log_msg2_desc desc) |
| Get total length (in 32 bit words) of a log message. More... | |
| static uint32_t | log_msg2_generic_get_wlen (union mpsc_pbuf_generic *item) |
| Get length of the log item. More... | |
| static uint8_t | log_msg2_get_domain (struct log_msg2 *msg) |
| Get log message domain ID. More... | |
| static uint8_t | log_msg2_get_level (struct log_msg2 *msg) |
| Get log message level. More... | |
| static const void * | log_msg2_get_source (struct log_msg2 *msg) |
| Get message source data. More... | |
| static log_timestamp_t | log_msg2_get_timestamp (struct log_msg2 *msg) |
| Get timestamp. More... | |
| static uint8_t * | log_msg2_get_data (struct log_msg2 *msg, size_t *len) |
| Get data buffer. More... | |
| static uint8_t * | log_msg2_get_package (struct log_msg2 *msg, size_t *len) |
| Get string package. More... | |
| #define LOG_MSG2_DBG | ( | ... | ) | IF_ENABLED(LOG_MSG2_DEBUG, (printk(__VA_ARGS__))) |
| #define LOG_MSG2_DEBUG 0 |
| typedef uint32_t log_timestamp_t |