zephyr/subsys/logging
Krzysztof Chruscinski a662e69cad logging: Prevent multiple arguments evaluation
Logging v2 is utilizing complex preprocessing operations to
prepare message at compile time. Multiple operations are peformed
on log message arguments. However, it is expected that argument
will be evaluated only once (e.g. it can be a call to a function
with side effects). Adding additional layer which creates copies
of user arguments on stack and passes them to further processing.

Updated test for log_msg2 which is using internal macro which
got renamed.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-02-22 14:44:11 +01:00
..
mipi_syst logging: add STP transport and raw data output support for syst 2020-11-17 10:09:19 -06:00
CMakeLists.txt logging: Prevent multiple arguments evaluation 2022-02-22 14:44:11 +01:00
Kconfig logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.backends logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
Kconfig.filtering logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.formatting logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
Kconfig.misc logging: Use runtime packaging in immediate mode 2022-02-22 14:44:11 +01:00
Kconfig.mode logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
Kconfig.processing logging: Use runtime packaging in immediate mode 2022-02-22 14:44:11 +01:00
Kconfig.template.log_config logging: Add choice name in template 2021-09-06 14:11:06 -04:00
log_backend_adsp.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_backend_fs.c logging: fs: fix leak of opened directories in check_log_file_exist() 2021-07-20 13:31:33 +02:00
log_backend_native_posix.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_backend_net.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_backend_rtt.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_backend_spinel.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_backend_swo.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_backend_uart.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_backend_xtensa_sim.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
log_cmds.c logging: Add common api for getting memory usage 2022-02-21 20:41:17 -05:00
log_core.c Revert "logging: Use spin lock" 2022-02-22 00:29:17 -05:00
log_list.c logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
log_list.h logging: subsystem major redesign 2018-06-29 10:16:45 +02:00
log_mgmt.c logging: Add assert when wrong backend is used 2022-01-17 15:49:10 -05:00
log_minimal.c logging: log_minimal: Fix violations to rule 10.4 2021-04-20 15:50:49 -04:00
log_msg.c logging: Add common api for getting memory usage 2022-02-21 20:41:17 -05:00
log_msg2.c logging: Fix tracking of buffered messages 2022-01-20 08:52:08 -05:00
log_output.c logging: log_output: Fix immediate output for big endian 2022-01-27 10:02:21 +01:00
log_output_dict.c logging: add support for dictionary based logging 2021-04-28 22:25:42 +02:00
log_output_syst.c logging: syst: fix logging v2 with strings as arguments 2022-02-04 11:14:55 +01:00