Home
last modified time | relevance | path

Searched refs:log_msg (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-Core-2.7.6/include/logging/
Dlog_msg.h63 (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 …]
Dlog_backend.h37 struct log_msg *msg);
105 struct log_msg *msg) in log_backend_put()
Dlog_output.h109 struct log_msg *msg,
Dlog_backend_std.h47 struct log_msg *msg) in log_backend_std_put()
/Zephyr-Core-2.7.6/subsys/logging/
Dlog_list.h17 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);
Dlog_list.c15 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()
Dlog_msg.c89 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 …]
Dlog_core.c68 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 …]
DCMakeLists.txt9 log_msg.c
Dlog_backend_adsp.c40 struct log_msg *msg) in put()
Dlog_backend_xtensa_sim.c41 struct log_msg *msg) in put()
Dlog_output.c49 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()
Dlog_backend_spinel.c32 struct log_msg *msg) in put()
Dlog_backend_native_posix.c62 struct log_msg *msg) in put()
Dlog_backend_uart.c55 struct log_msg *msg) in put()
Dlog_output_syst.c522 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/
Dlog_list_test.c27 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/
Dlog_msg_test.c29 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/
Dshell_log_backend.c20 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/
DCMakeLists.txt5 project(log_msg) project
/Zephyr-Core-2.7.6/tests/subsys/logging/log_core/src/
Dlog_core_test.c27 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/
Dmain.c33 struct log_msg *msg, size_t counter);
52 struct log_msg *msg) in put()
/Zephyr-Core-2.7.6/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v1.py409 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/
Dlog_test.c106 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/
Dshell_log_backend.h48 struct log_msg *msg;

12