/Zephyr-Core-2.7.6/include/logging/ |
D | log_msg.h | 63 (sizeof(struct log_msg) - sizeof(void *)) 139 struct log_msg { struct 140 struct log_msg *next; /*!< Used by logger core list.*/ argument 160 struct log_msg head; argument 174 void log_msg_get(struct log_msg *msg); 183 void log_msg_put(struct log_msg *msg); 191 static inline uint32_t log_msg_domain_id_get(struct log_msg *msg) in log_msg_domain_id_get() 202 static inline uint32_t log_msg_source_id_get(struct log_msg *msg) in log_msg_source_id_get() 213 static inline uint32_t log_msg_level_get(struct log_msg *msg) in log_msg_level_get() 224 static inline uint32_t log_msg_timestamp_get(struct log_msg *msg) in log_msg_timestamp_get() [all …]
|
D | log_backend.h | 37 struct log_msg *msg); 105 struct log_msg *msg) in log_backend_put()
|
D | log_output.h | 109 struct log_msg *msg,
|
D | log_backend_std.h | 47 struct log_msg *msg) in log_backend_std_put()
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | log_list.h | 17 struct log_msg *head; 18 struct log_msg *tail; 33 void log_list_add_tail(struct log_list_t *list, struct log_msg *msg); 41 struct log_msg *log_list_head_get(struct log_list_t *list); 49 struct log_msg *log_list_head_peek(struct log_list_t *list);
|
D | log_list.c | 15 void log_list_add_tail(struct log_list_t *list, struct log_msg *msg) in log_list_add_tail() 27 struct log_msg *log_list_head_peek(struct log_list_t *list) in log_list_head_peek() 32 struct log_msg *log_list_head_get(struct log_list_t *list) in log_list_head_get() 34 struct log_msg *msg = list->head; in log_list_head_get()
|
D | log_msg.c | 89 void log_msg_get(struct log_msg *msg) in log_msg_get() 105 static void msg_free(struct log_msg *msg) in msg_free() 186 void log_msg_put(struct log_msg *msg) in log_msg_put() 195 uint32_t log_msg_nargs_get(struct log_msg *msg) in log_msg_nargs_get() 200 static log_arg_t cont_arg_get(struct log_msg *msg, uint32_t arg_idx) in cont_arg_get() 220 log_arg_t log_msg_arg_get(struct log_msg *msg, uint32_t arg_idx) in log_msg_arg_get() 238 const char *log_msg_str_get(struct log_msg *msg) in log_msg_str_get() 253 static struct log_msg *msg_alloc(uint32_t nargs) in msg_alloc() 257 struct log_msg *msg = z_log_msg_std_alloc(); in msg_alloc() 287 static void copy_args_to_msg(struct log_msg *msg, log_arg_t *args, uint32_t nargs) in copy_args_to_msg() [all …]
|
D | log_core.c | 68 struct log_msg *msg; 183 static void detect_missed_strdup(struct log_msg *msg) in detect_missed_strdup() 246 static inline void msg_finalize(struct log_msg *msg, in msg_finalize() 268 struct log_msg *msg = log_msg_create_0(str); in log_0() 284 struct log_msg *msg = log_msg_create_1(str, arg0); in log_1() 301 struct log_msg *msg = log_msg_create_2(str, arg0, arg1); in log_2() 320 struct log_msg *msg = log_msg_create_3(str, arg0, arg1, arg2); in log_3() 338 struct log_msg *msg = log_msg_create_n(str, args, narg); in log_n() 355 struct log_msg *msg = in log_hexdump() 400 struct log_msg *msg; in z_log_vprintk() [all …]
|
D | CMakeLists.txt | 9 log_msg.c
|
D | log_backend_adsp.c | 40 struct log_msg *msg) in put()
|
D | log_backend_xtensa_sim.c | 41 struct log_msg *msg) in put()
|
D | log_output.c | 49 struct log_msg *msg, uint32_t flag); 293 static void std_print(struct log_msg *msg, in std_print() 422 static void hexdump_print(struct log_msg *msg, in hexdump_print() 463 static void raw_string_print(struct log_msg *msg, in raw_string_print() 548 struct log_msg *msg, in log_output_msg_process()
|
D | log_backend_spinel.c | 32 struct log_msg *msg) in put()
|
D | log_backend_native_posix.c | 62 struct log_msg *msg) in put()
|
D | log_backend_uart.c | 55 struct log_msg *msg) in put()
|
D | log_output_syst.c | 522 static void std_print(struct log_msg *msg, 617 static void raw_string_print(struct log_msg *msg, 631 static void hexdump_print(struct log_msg *msg, 644 struct log_msg *msg, uint32_t flag)
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_list/src/ |
D | log_list_test.c | 27 struct log_msg msg1, msg2; in test_log_list() 28 struct log_msg *msg; in test_log_list() 72 struct log_msg msg[10]; in test_log_list_multiple_items()
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_msg/src/ |
D | log_msg_test.c | 29 struct log_msg *msg; in test_log_std_msg() 69 struct log_msg *msg; in test_log_hexdump_msg() 144 struct log_msg *msg; in test_log_hexdump_data_get_single_chunk() 243 struct log_msg *msg; in test_log_hexdump_data_get_two_chunks() 336 struct log_msg *msg; in test_log_hexdump_data_get_multiple_chunks() 424 struct log_msg *msg; in test_log_hexdump_data_put_chunks()
|
/Zephyr-Core-2.7.6/subsys/shell/ |
D | shell_log_backend.c | 20 static struct log_msg *msg_from_fifo(const struct shell_log_backend *backend) in msg_from_fifo() 41 struct log_msg *msg; in fifo_reset() 97 struct log_msg *msg) in msg_to_fifo() 140 struct log_msg *msg, bool colors) in msg_process() 182 struct log_msg *msg = msg_from_fifo(backend); in z_shell_log_backend_process() 192 static void put(const struct log_backend *const backend, struct log_msg *msg) in put()
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_msg/ |
D | CMakeLists.txt | 5 project(log_msg) project
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_core/src/ |
D | log_core_test.c | 27 struct log_msg *msg, size_t counter); 46 struct log_msg *msg) in put() 255 struct log_msg *msg, size_t counter) in strdup_trim_callback()
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_benchmark/src/ |
D | main.c | 33 struct log_msg *msg, size_t counter); 52 struct log_msg *msg) in put()
|
/Zephyr-Core-2.7.6/scripts/logging/dictionary/dictionary_parser/ |
D | log_parser_v1.py | 409 log_msg = fmt_str % args 412 print("%s" % log_msg, end='') 415 print(f"{color}%s%s{Fore.RESET}" % (log_prefix, log_msg))
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_core_additional/src/ |
D | log_test.c | 106 static void put(struct log_backend const *const backend, struct log_msg *msg) in put() 498 char *log_msg = "log user space"; in test_log_generic() local 504 call_log_generic(source_id, "log generic: %s", log_msg); in test_log_generic()
|
/Zephyr-Core-2.7.6/include/shell/ |
D | shell_log_backend.h | 48 struct log_msg *msg;
|