/Zephyr-Core-2.7.6/tests/subsys/logging/log_core_additional/src/ |
D | log_test_user.c | 26 struct log_msg_ids src_level = { in test_log_from_user() local 33 log_from_user(src_level, "log from user\n"); in test_log_from_user() 34 log_from_user(src_level, "log from user, level %d\n", src_level.level); in test_log_from_user() 46 struct log_msg_ids src_level = { in test_log_hexdump_from_user() local 52 log_hexdump_from_user(src_level, "test_hexdump", &data, sizeof(data)); in test_log_hexdump_from_user() 59 struct log_msg_ids src_level = { in call_log_generic() local 68 log_generic(src_level, fmt, ap, LOG_STRDUP_SKIP); in call_log_generic() 91 struct log_msg_ids src_level = { in test_log_panic() local 97 log_from_user(src_level, "log from user\n"); in test_log_panic() 98 log_from_user(src_level, "log from user, level %d\n", src_level.level); in test_log_panic()
|
D | log_test.c | 139 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 149 struct log_msg_ids src_level, uint32_t timestamp, in sync_hexdump() argument 482 struct log_msg_ids src_level = { in call_log_generic() local 491 log_generic(src_level, fmt, ap, LOG_STRDUP_EXEC); in call_log_generic()
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_output/src/ |
D | log_output_test.c | 64 struct log_msg_ids src_level, uint32_t timestamp, in log_output_string_varg() argument 71 log_output_string(log_output, src_level, timestamp, fmt, ap, flags); in log_output_string_varg() 80 struct log_msg_ids src_level = { in test_log_output_raw_string() local 86 log_output_string_varg(&log_output, src_level, 0, 0, in test_log_output_raw_string() 94 log_output_string_varg(&log_output, src_level, 0, 0, in test_log_output_raw_string() 108 struct log_msg_ids src_level = { in test_log_output_string() local 115 log_output_string_varg(&log_output, src_level, 0, in test_log_output_string() 124 log_output_string_varg(&log_output, src_level, 0, in test_log_output_string() 133 log_output_string_varg(&log_output, src_level, 123456, in test_log_output_string() 142 log_output_string_varg(&log_output, src_level, 0, in test_log_output_string()
|
/Zephyr-Core-2.7.6/include/logging/ |
D | log_frontend.h | 20 void log_frontend_0(const char *str, struct log_msg_ids src_level); 30 struct log_msg_ids src_level); 42 struct log_msg_ids src_level); 56 struct log_msg_ids src_level); 68 struct log_msg_ids src_level); 80 struct log_msg_ids src_level);
|
D | log_core.h | 211 struct log_msg_ids src_level = { \ 216 Z_LOG_INTERNAL2(is_user_context, src_level, \ 375 struct log_msg_ids src_level = { \ 381 log_hexdump_from_user(src_level, _str, \ 384 log_hexdump_sync(src_level, _str, (const char *)_data, _len); \ 386 log_hexdump(_str, (const char *)_data, _len, src_level); \ 575 void log_0(const char *str, struct log_msg_ids src_level); 585 struct log_msg_ids src_level); 597 struct log_msg_ids src_level); 611 struct log_msg_ids src_level); [all …]
|
D | log_backend_std.h | 90 uint32_t flags, struct log_msg_ids src_level, in log_backend_std_sync_string() argument 112 log_output_string(output, src_level, timestamp, fmt, ap, flags); in log_backend_std_sync_string() 132 uint32_t flags, struct log_msg_ids src_level, in log_backend_std_sync_hexdump() argument 155 log_output_hexdump(output, src_level, timestamp, in log_backend_std_sync_hexdump()
|
D | log_backend.h | 39 struct log_msg_ids src_level, uint32_t timestamp, 42 struct log_msg_ids src_level, uint32_t timestamp, 133 struct log_msg_ids src_level, in log_backend_put_sync_string() argument 140 backend->api->put_sync_string(backend, src_level, in log_backend_put_sync_string() 157 struct log_msg_ids src_level, in log_backend_put_sync_hexdump() argument 164 backend->api->put_sync_hexdump(backend, src_level, timestamp, in log_backend_put_sync_hexdump()
|
D | log_output.h | 138 struct log_msg_ids src_level, uint32_t timestamp, 156 struct log_msg_ids src_level, uint32_t timestamp,
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | log_core.c | 247 struct log_msg_ids src_level) in msg_finalize() argument 251 msg->hdr.ids = src_level; in msg_finalize() 263 void log_0(const char *str, struct log_msg_ids src_level) in log_0() argument 266 log_frontend_0(str, src_level); in log_0() 273 msg_finalize(msg, src_level); in log_0() 279 struct log_msg_ids src_level) in log_1() argument 282 log_frontend_1(str, arg0, src_level); in log_1() 289 msg_finalize(msg, src_level); in log_1() 296 struct log_msg_ids src_level) in log_2() argument 299 log_frontend_2(str, arg0, arg1, src_level); in log_2() [all …]
|
D | log_backend_adsp.c | 56 struct log_msg_ids src_level, in put_sync_string() argument 60 log_output_string(&log_output_adsp, src_level, in put_sync_string() 65 struct log_msg_ids src_level, in put_sync_hexdump() argument 69 log_output_hexdump(&log_output_adsp, src_level, timestamp, in put_sync_hexdump()
|
D | log_backend_xtensa_sim.c | 68 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 71 log_backend_std_sync_string(&log_output_xsim, 0, src_level, in sync_string() 76 struct log_msg_ids src_level, uint32_t timestamp, in sync_hexdump() argument 79 log_backend_std_sync_hexdump(&log_output_xsim, 0, src_level, in sync_hexdump()
|
D | log_backend_spinel.c | 52 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 58 log_backend_std_sync_string(&log_output_spinel, flag, src_level, in sync_string() 63 struct log_msg_ids src_level, uint32_t timestamp, in sync_hexdump() argument 70 log_backend_std_sync_hexdump(&log_output_spinel, flag, src_level, in sync_hexdump()
|
D | log_backend_native_posix.c | 97 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 112 log_output_string(&log_output_posix, src_level, in sync_string() 118 struct log_msg_ids src_level, uint32_t timestamp, in sync_hexdump() argument 133 log_output_hexdump(&log_output_posix, src_level, timestamp, in sync_hexdump()
|
D | log_backend_uart.c | 110 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 116 log_backend_std_sync_string(&log_output_uart, flag, src_level, in sync_string() 121 struct log_msg_ids src_level, uint32_t timestamp, in sync_hexdump() argument 127 log_backend_std_sync_hexdump(&log_output_uart, flag, src_level, in sync_hexdump()
|
D | log_backend_swo.c | 132 struct log_msg_ids src_level, uint32_t timestamp, in log_backend_swo_sync_string() argument 138 log_backend_std_sync_string(&log_output_swo, flag, src_level, in log_backend_swo_sync_string() 144 struct log_msg_ids src_level, uint32_t timestamp, in log_backend_swo_sync_hexdump() argument 150 log_backend_std_sync_hexdump(&log_output_swo, flag, src_level, in log_backend_swo_sync_hexdump()
|
D | log_output.c | 51 struct log_msg_ids src_level, 54 struct log_msg_ids src_level, 652 struct log_msg_ids src_level, uint32_t timestamp, in log_output_string() argument 656 uint8_t level = (uint8_t)src_level.level; in log_output_string() 657 uint8_t domain_id = (uint8_t)src_level.domain_id; in log_output_string() 658 int16_t source_id = (int16_t)src_level.source_id; in log_output_string() 664 src_level, fmt, ap, flags); in log_output_string() 690 struct log_msg_ids src_level, uint32_t timestamp, in log_output_hexdump() argument 695 uint8_t level = (uint8_t)src_level.level; in log_output_hexdump() 696 uint8_t domain_id = (uint8_t)src_level.domain_id; in log_output_hexdump() [all …]
|
D | log_backend_rtt.c | 279 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 285 log_backend_std_sync_string(&log_output_rtt, flag, src_level, in sync_string() 290 struct log_msg_ids src_level, uint32_t timestamp, in sync_hexdump() argument 296 log_backend_std_sync_hexdump(&log_output_rtt, flag, src_level, in sync_hexdump()
|
D | log_backend_net.c | 237 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 251 log_output_string(&log_output_net, src_level, in sync_string()
|
D | log_output_syst.c | 661 struct log_msg_ids src_level, argument 666 uint32_t severity = level_to_syst_severity((uint32_t)src_level.level); 677 struct log_msg_ids src_level, argument 680 uint32_t severity = level_to_syst_severity((uint32_t)src_level.level);
|
/Zephyr-Core-2.7.6/samples/subsys/logging/logger/src/ |
D | ext_log_system_adapter.c | 34 struct log_msg_ids src_level = { in log_handler() local 40 log_generic(src_level, fmt, ap, LOG_STRDUP_CHECK_EXEC); in log_handler()
|
/Zephyr-Core-2.7.6/samples/subsys/logging/syst/src/ |
D | main.c | 37 struct log_msg_ids src_level = { in main() local 71 log_string_sync(src_level, "%s", "log string sync"); in main()
|
/Zephyr-Core-2.7.6/tests/subsys/logging/log_api/src/ |
D | mock_backend.c | 346 struct log_msg_ids src_level, uint32_t timestamp, in sync_string() argument 364 zassert_equal(src_level.level, exp->level, NULL); in sync_string() 365 zassert_equal(src_level.source_id, exp->source_id, NULL); in sync_string() 366 zassert_equal(src_level.domain_id, exp->domain_id, NULL); in sync_string() 376 struct log_msg_ids src_level, uint32_t timestamp, in sync_hexdump() argument 394 zassert_equal(src_level.level, exp->level, NULL); in sync_hexdump() 395 zassert_equal(src_level.source_id, exp->source_id, NULL); in sync_hexdump() 396 zassert_equal(src_level.domain_id, exp->domain_id, NULL); in sync_hexdump()
|
/Zephyr-Core-2.7.6/subsys/shell/ |
D | shell_log_backend.c | 226 struct log_msg_ids src_level, uint32_t timestamp, in put_sync_string() argument 243 log_output_string(shell->log_backend->log_output, src_level, timestamp, in put_sync_string() 252 struct log_msg_ids src_level, uint32_t timestamp, in put_sync_hexdump() argument 270 log_output_hexdump(shell->log_backend->log_output, src_level, in put_sync_hexdump()
|