12#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_INTERNAL_H_
13#define ZEPHYR_INCLUDE_LOGGING_LOG_INTERNAL_H_
33 struct mpsc_pbuf_buffer buf;
38 union log_msg_generic *msg;
47void z_log_dropped(
bool buffered);
53uint32_t z_log_dropped_read_and_clear(
void);
60bool z_log_dropped_pending(
void);
66void z_log_free(
void *buf);
69void z_log_runtime_filters_init(
void);
72void z_log_links_initiate(
void);
87void z_log_notify_backend_enabled(
void);
101static inline uint32_t z_log_sources_count(
void)
110uint8_t z_log_ext_domain_count(
void);
113void z_log_msg_init(
void);
119void z_log_msg_commit(
struct log_msg *msg);
126union log_msg_generic *z_log_msg_claim(
k_timeout_t *backoff);
132void z_log_msg_free(
union log_msg_generic *msg);
139bool z_log_msg_pending(
void);
154const char *z_log_get_tag(
void);
162static inline bool z_log_is_local_domain(
uint8_t domain_id)
165 (domain_id == Z_LOG_LOCAL_DOMAIN_ID);
#define TYPE_SECTION_END(secname)
iterable section end symbol for a generic type
Definition iterable_sections.h:71
#define TYPE_SECTION_START(secname)
iterable section start symbol for a generic type
Definition iterable_sections.h:61
static uint32_t log_const_source_id(const struct log_source_const_data *data)
Get index of the log source based on the address of the constant data associated with the source.
Definition log_core.h:523
uint32_t log_timestamp_t
Timestamp value associated with a log message.
Definition log_msg.h:54
#define IS_ENABLED(config_macro)
Check for macro definition in compiler-visible expressions.
Definition util_macro.h:154
Header file for the logging core.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Kernel timeout type.
Definition clock.h:65
MPSC packet buffer structure.
Definition mpsc_pbuf.h:90
Generic packet header.
Definition mpsc_packet.h:49