zephyr/subsys/logging
Ben Wolsieffer 72cdbcbbba logging: consistently retrieve source ID from remote messages
The log message header "source" field for messages received from a
remote domain contains the source ID, rather than a pointer to the
source data (which would not be valid in the local domain).

msg_filter_check() did not handle this case and obtained a garbage source
ID for remote log messages. This caused an assertion failure in
filter_get().

Consistently handle this by adding a log_msg_get_source_id() function
that returns the source ID for both local and remote messages. This
function was implemented based on code factored out of
log_output_msg_process().

Signed-off-by: Ben Wolsieffer <benwolsieffer@gmail.com>
2024-04-17 14:28:59 +02:00
..
backends logging: backends: multidomain: Fix compilation warning 2024-03-15 11:36:08 +00:00
mipi_syst logging: mipi_syst: Add CONFIG_LOG_MIPI_SYST_DISABLE_TIMESTAMP 2024-01-05 06:40:09 -05:00
CMakeLists.txt
Kconfig
Kconfig.filtering
Kconfig.formatting logging: Remove hda log backend 2024-01-17 09:52:48 +01:00
Kconfig.frontends
Kconfig.links
Kconfig.misc logging: Add option to not generate dictionary database always 2024-03-06 10:38:37 +00:00
Kconfig.mode
Kconfig.processing logging: support using real time as timestamp 2024-03-06 15:58:43 +00:00
Kconfig.template.log_config
Kconfig.template.log_config_inherit
Kconfig.template.log_format_config logging: Use strings stripping for dictionary backends 2024-01-15 09:58:39 +01:00
log_cache.c
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: consistently retrieve source ID from remote messages 2024-04-17 14:28:59 +02:00
log_frontend_dict_uart.c
log_link_ipc_service.c
log_mgmt.c logging: Add support for runtime filtering in frontend 2024-01-15 09:57:54 +01:00
log_minimal.c llext: Rework hello_world test case to be "simple" 2024-03-09 14:44:23 +00:00
log_msg.c logging: consistently retrieve source ID from remote messages 2024-04-17 14:28:59 +02:00
log_multidomain_link.c
log_output_custom.c
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
log_output.c logging: consistently retrieve source ID from remote messages 2024-04-17 14:28:59 +02:00