zephyr/subsys/logging
Krzysztof Chruscinski c51aa88046 logging: Fix counting of buffered messages
When message is dropped then log_process is called with
bypass flag set and additionally z_log_dropped() is called.
In both functions counter of buffered messages was decremented.
That resulted in counter being decremented twice. It resulted
in logging misbehavior after messages being dropped (delayed
processing). Fixing it by decrementing the counter in log_process
only when bypass flag is not set.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-01-05 14:42:40 +01:00
..
mipi_syst
CMakeLists.txt logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.backends logging: uart: Add support for asynchronous API 2021-12-01 10:02:28 +01:00
Kconfig.filtering logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.formatting logging: Add option to have tag which is prepended to all messages 2022-01-04 14:57:31 -06:00
Kconfig.misc logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.mode logging: Minimal mode configuration cleanup 2021-11-20 11:58:40 -05:00
Kconfig.processing logging: Increase stack size when NO_OPTIMIZATIONS=y 2021-12-21 09:36:09 +01:00
Kconfig.template.log_config
log_backend_adsp.c
log_backend_fs.c
log_backend_native_posix.c
log_backend_net.c log_backend_net: local_addrX may be used uninitialized 2021-12-09 19:53:17 -05:00
log_backend_rtt.c logging: Add MIPI sys-t support for v2 logging subsystem. 2022-01-05 14:41:51 +01:00
log_backend_spinel.c
log_backend_swo.c logging: Add MIPI sys-t support for v2 logging subsystem. 2022-01-05 14:41:51 +01:00
log_backend_uart.c logging: Add MIPI sys-t support for v2 logging subsystem. 2022-01-05 14:41:51 +01:00
log_backend_xtensa_sim.c
log_cmds.c
log_core.c logging: Fix counting of buffered messages 2022-01-05 14:42:40 +01:00
log_list.c
log_list.h
log_mgmt.c
log_minimal.c
log_msg.c
log_msg2.c
log_output.c logging: Add MIPI sys-t support for v2 logging subsystem. 2022-01-05 14:41:51 +01:00
log_output_dict.c
log_output_syst.c logging: Add MIPI sys-t support for v2 logging subsystem. 2022-01-05 14:41:51 +01:00