zephyr/subsys/logging
Krzysztof Chruściński e18254901c logging: When strings are stripped keep source name pointers
90ab94f61d added a change that source name pointers were not stored
in the const data structure associated with a logging source. That was
done because those string pointers were invalid (on purpose pointing to
non-existing memory) and reading those strings could lead to a fault.
However, those pointers are used by scripts which are building the
dictionary database and after this change script was no longer
able to retrieve source names from elf file and database was incomplete.

This patch brings back storing of source name string pointers but in
API for reading those source names guards are added to not return
invalid addresses.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-08-13 14:56:14 +02:00
..
backends logging: fs backend: optional append to latest file 2024-08-12 12:44:11 +02:00
mipi_syst
CMakeLists.txt
Kconfig
Kconfig.filtering logging: Allow runtime filtering for frontend only case 2024-07-09 14:01:56 +02:00
Kconfig.formatting logging: allow OOT backend to enable LOG_BACKEND_FORMAT_TIMESTAMP 2024-06-12 12:49:32 -04:00
Kconfig.frontends logging: Fix UART dictionary frontend configuration 2024-07-09 14:01:56 +02:00
Kconfig.links
Kconfig.misc logging: Do not strip strings when LOG_OUTPUT is used 2024-07-12 06:23:09 -04:00
Kconfig.mode logging: Default to IMMEDIATE mode for native targets 2024-04-26 19:48:49 +01:00
Kconfig.processing posix: timers: deprecate CONFIG_POSIX_CLOCK and TIMER 2024-06-04 16:27:12 -05:00
Kconfig.template.log_config
Kconfig.template.log_config_inherit
Kconfig.template.log_format_config logging: dictionary: keep string section if always runtime 2024-06-28 21:14:14 +02:00
log_cache.c logging: log_cache: ensure cache contains an entry 2024-05-13 16:05:18 -04:00
log_cache.h
log_cmds.c
log_core.c logging: Trigger logging thread when we start to drop messages 2024-08-02 18:45:59 -05:00
log_frontend_dict_uart.c
log_link_ipc_service.c
log_mgmt.c logging: When strings are stripped keep source name pointers 2024-08-13 14:56:14 +02:00
log_minimal.c coding guidelines: comply with MISRA Rule 12.1. 2024-06-03 16:10:33 -04:00
log_msg.c logging: Fix runtime filtering when frontend and userspace is used 2024-07-09 14:01:56 +02:00
log_multidomain_link.c logging: multidomain_link: fix crash caused by drop notification 2024-04-18 11:12:35 +02:00
log_output_custom.c
log_output_dict.c
log_output_syst.c
log_output.c logging: log_output: Prevent redundant flush with zero-length data 2024-05-21 20:54:29 -04:00