/Zephyr-latest/include/zephyr/logging/ |
D | log_msg.h | 94 struct log_msg { struct 106 BUILD_ASSERT(sizeof(struct log_msg) % Z_LOG_MSG_ALIGNMENT == 0, argument 120 struct log_msg log; 169 (struct log_msg *)_ld_buf : (struct log_msg *)_ll_buf; \ 192 ptr = (len > 128) ? (struct log_msg *)_ld_buf256 : \ 193 ((len > 64) ? (struct log_msg *)_ld_buf128 : \ 194 ((len > 48) ? (struct log_msg *)_ld_buf64 : \ 195 ((len > 32) ? (struct log_msg *)_ld_buf48 : \ 196 (struct log_msg *)_ld_buf32)));\ 198 ptr = (len > 128) ? (struct log_msg *)_ll_buf256 : \ [all …]
|
D | log_output.h | 113 struct log_msg *msg, uint32_t flags); 146 struct log_msg *msg, uint32_t flags); 182 struct log_msg *msg, uint32_t flags);
|
D | log_output_custom.h | 32 struct log_msg *msg, uint32_t flags);
|
D | log_output_dict.h | 60 struct log_msg *msg, uint32_t flags);
|
D | log_internal.h | 111 void z_log_msg_commit(struct log_msg *msg);
|
D | log_multidomain_helper.h | 122 struct log_multidomain_log_msg log_msg; member
|
/Zephyr-latest/tests/subsys/logging/log_link_order/src/ |
D | main.c | 94 struct log_msg log2; in ZTEST() 95 struct log_msg *log1; in ZTEST() 97 log1 = z_log_msg_alloc(sizeof(struct log_msg) / sizeof(int)); in ZTEST() 120 struct log_msg *log1; in ZTEST() 121 struct log_msg log2; in ZTEST() 128 log1 = z_log_msg_alloc(sizeof(struct log_msg) / sizeof(int)); in ZTEST() 153 struct log_msg *log1; in ZTEST() 154 struct log_msg log2; in ZTEST() 161 log1 = z_log_msg_alloc(sizeof(struct log_msg) / sizeof(int)); in ZTEST()
|
/Zephyr-latest/tests/subsys/logging/log_msg/src/ |
D | main.c | 45 void print_msg(struct log_msg *msg) in print_msg() 75 static void basic_validate(struct log_msg *msg, in basic_validate() 124 void clear_pkg_flags(struct log_msg *msg) in clear_pkg_flags() 200 ZTEST(log_msg, test_log_msg_0_args_msg) in ZTEST() argument 228 ZTEST(log_msg, test_log_msg_various_args) in ZTEST() argument 262 ZTEST(log_msg, test_log_msg_only_data) in ZTEST() argument 288 ZTEST(log_msg, test_log_msg_string_and_data) in ZTEST() argument 317 ZTEST(log_msg, test_log_msg_fp) in ZTEST() argument 369 ZTEST(log_msg, test_mode_size_plain_string) in ZTEST() argument 393 exp_len = offsetof(struct log_msg, data) + in ZTEST() [all …]
|
/Zephyr-latest/subsys/logging/ |
D | log_core.c | 646 static struct log_msg *msg_alloc(struct mpsc_pbuf_buffer *buffer, uint32_t wlen) in msg_alloc() 652 return (struct log_msg *)mpsc_pbuf_alloc( in msg_alloc() 659 struct log_msg *z_log_msg_alloc(uint32_t wlen) in z_log_msg_alloc() 664 static void msg_commit(struct mpsc_pbuf_buffer *buffer, struct log_msg *msg) in msg_commit() 690 void z_log_msg_commit(struct log_msg *msg) in z_log_msg_commit() 840 struct log_msg *log_msg = (struct log_msg *)data; in z_log_msg_enqueue() local 843 struct log_msg *local_msg = msg_alloc(mpsc_pbuffer, wlen); in z_log_msg_enqueue() 850 log_msg->hdr.desc.valid = 0; in z_log_msg_enqueue() 851 log_msg->hdr.desc.busy = 0; in z_log_msg_enqueue() 852 log_msg->hdr.desc.domain += link->ctrl_blk->domain_offset; in z_log_msg_enqueue()
|
D | log_output_custom.c | 13 void log_custom_output_msg_process(const struct log_output *output, struct log_msg *msg, in log_custom_output_msg_process()
|
D | CMakeLists.txt | 4 ${ZEPHYR_BASE}/include/zephyr/logging/log_msg.h 14 log_msg.c
|
D | log_msg.c | 31 void z_log_msg_finalize(struct log_msg *msg, const void *source, in z_log_msg_finalize() 100 struct log_msg *msg = z_log_msg_alloc(Z_LOG_MSG_ALIGNED_WLEN(plen8, 0)); in z_log_msg_simple_create() 294 struct log_msg *msg; in z_impl_z_log_msg_static_create() 370 struct log_msg *msg; in z_log_msg_runtime_vcreate() 402 int16_t log_msg_get_source_id(struct log_msg *msg) in log_msg_get_source_id()
|
D | log_output_dict.c | 16 struct log_msg *msg, uint32_t flags) in log_dict_output_msg_process()
|
/Zephyr-latest/tests/subsys/logging/log_msg/ |
D | CMakeLists.txt | 5 project(log_msg) project
|
/Zephyr-latest/tests/subsys/zbus/integration/src/ |
D | main.c | 73 struct net_log_msg log_msg = {.count_net = count_net, in net_thread() local 76 zbus_chan_pub(&net_log_chan, &log_msg, K_MSEC(500)); in net_thread() 90 struct net_log_msg log_msg; in net_log_thread() local 93 if (!zbus_sub_wait_msg(&net_log_sub, &chan, &log_msg, K_FOREVER)) { in net_log_thread() 96 LOG_DBG("[Net log]: count_net = %d, pkt.total = %d", log_msg.count_net, in net_log_thread() 97 log_msg.pkt_total); in net_log_thread()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/open_close/src/ |
D | main.c | 83 static void bs_sync_all_log(char *log_msg) in bs_sync_all_log() argument 89 LOG_WRN("Sync point: %s", log_msg); in bs_sync_all_log()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/ |
D | main.c | 112 static void bs_sync_all_log(char *log_msg) in bs_sync_all_log() argument 118 LOG_WRN("Sync point: %s", log_msg); in bs_sync_all_log()
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_multidomain_backend.c | 43 uintptr_t out_log_msg_ptr = (uintptr_t)out_msg->data.log_msg.data; in process() 44 struct log_msg *out_log_msg = (struct log_msg *)out_log_msg_ptr; in process()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/timeout/ |
D | main.c | 75 static void bs_sync_all_log(char *log_msg) in bs_sync_all_log() argument 81 LOG_WRN("Sync point: %s", log_msg); in bs_sync_all_log()
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell_log_backend.h | 47 struct log_msg *msg;
|
/Zephyr-latest/tests/subsys/logging/log_stack/src/ |
D | main.c | 47 #define TEST_LOG_STACK(usage, log_msg) do { \ argument 54 __DEBRACKET log_msg; \
|
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/ |
D | log_parser_v1.py | 332 log_msg = fmt_str % args 338 print(f"{color}%s%s{Fore.RESET}" % (log_prefix, log_msg))
|
D | log_parser_v3.py | 340 log_msg = fmt_str % args 347 print(f"{color}%s%s{Fore.RESET}" % (log_prefix, log_msg))
|
/Zephyr-latest/tests/subsys/logging/log_core_additional/src/ |
D | log_test.c | 488 char *log_msg = "log user space"; in ZTEST() local 495 call_log_generic("log generic: %s", log_msg); in ZTEST()
|
/Zephyr-latest/samples/subsys/logging/logger/src/ |
D | main.c | 178 #define MSG_SIZE (sizeof(struct log_msg) + 2 * sizeof(void *) + sizeof(int)) in performance_showcase()
|