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> |
||
|---|---|---|
| .. | ||
| backends | ||
| mipi_syst | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.filtering | ||
| Kconfig.formatting | ||
| Kconfig.frontends | ||
| Kconfig.links | ||
| Kconfig.misc | ||
| Kconfig.mode | ||
| Kconfig.processing | ||
| Kconfig.template.log_config | ||
| Kconfig.template.log_config_inherit | ||
| Kconfig.template.log_format_config | ||
| log_cache.c | ||
| log_cache.h | ||
| log_cmds.c | ||
| log_core.c | ||
| log_frontend_dict_uart.c | ||
| log_link_ipc_service.c | ||
| log_mgmt.c | ||
| log_minimal.c | ||
| log_msg.c | ||
| log_multidomain_link.c | ||
| log_output_custom.c | ||
| log_output_dict.c | ||
| log_output_syst.c | ||
| log_output.c | ||