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 logging: mipi_syst: Add CONFIG_LOG_MIPI_SYST_DISABLE_TIMESTAMP 2024-01-05 06:40:09 -05:00
CMakeLists.txt logging: cmake: Remove duplicate source entry 2023-07-07 09:20:11 +02:00
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 logging: Changed log template to consider default log level 2023-04-05 13:47:06 +02:00
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 logging: log_cmds: Add support for frontend runtime filtering 2024-01-15 09:57:54 +01:00
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 logging: fix few mismatched CONTAINER_OF 2023-08-31 14:08:31 +02:00
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 logging: support custom timestamp formatting 2023-04-04 13:41:17 +02:00
log_output_dict.c LOG: DICT: Forward the User Context Void pointer to backend 2024-01-02 10:09:27 +01:00
log_output_syst.c logging: rename shadow variables 2023-08-22 11:39:58 +02:00
log_output.c logging: log_output: Prevent redundant flush with zero-length data 2024-05-21 20:54:29 -04:00