zephyr/subsys/logging
Kai Vehmanen eac6176961 logging: adsp_mtrace: fix handling of buffer full condition
If the mtrace buffer gets full, the entries are dropped. This
is however not reflected in the "bytes_written" argument passed
to the hook function used to notify of new data in the buffer.

This behaviour becomes problematic in the case there is no
active consumer of the mtrace logs. To allow the client that has
registered the hook function, to act correctly in this case,
the bytes_written should reflect the actual bytes that have been
added to buffer.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2022-09-06 17:43:08 +02:00
..
mipi_syst kconfig: logging: Add LOG_MIPI_SYST_ARGS_BUFFER_SIZE option. 2022-08-17 12:07:08 +02:00
CMakeLists.txt logging: cleanup in CMakeLists.txt 2022-09-01 20:54:13 +02:00
Kconfig logging: Allow for compilation without log_output 2022-07-04 16:43:32 +02:00
Kconfig.backends logging: Intel ADSP mtrace logging backend 2022-08-29 10:43:42 +02:00
Kconfig.filtering logging: Add frontend support to v2 2022-03-14 14:08:49 -04:00
Kconfig.formatting kconfig: logging: Add LOG_MIPI_SYST_ARGS_BUFFER_SIZE option. 2022-08-17 12:07:08 +02:00
Kconfig.frontends logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
Kconfig.misc lib/cbprintf: Disable tagged arguments with picolibc 2022-06-29 10:29:13 +02:00
Kconfig.mode logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
Kconfig.processing logging: added log process thread priority support 2022-07-21 08:59:38 -04:00
Kconfig.template.log_config
Kconfig.template.log_format_config logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
log_backend_adsp_hda.c soc: intel_adsp: Refactored IPC/IDC 2022-09-02 08:18:32 -04:00
log_backend_adsp_mtrace.c logging: adsp_mtrace: fix handling of buffer full condition 2022-09-06 17:43:08 +02:00
log_backend_adsp.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_efi_console.c logging: add a logging backend of EFI console 2022-07-05 16:52:32 -04:00
log_backend_fs.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_native_posix.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_net.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_rtt.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_spinel.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_swo.c log: swo: enable pin control support for swo log backend 2022-06-28 16:02:09 -05:00
log_backend_uart.c logging: initialize devices at compile time 2022-08-19 11:51:26 +02:00
log_backend_xtensa_sim.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_cmds.c logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
log_core.c logging: Add LOG_RAW macro 2022-09-05 06:26:54 -04:00
log_frontend_dict_uart.c lib: os: cbprintf: Renamed flags used for conversion function 2022-08-26 12:52:08 +02:00
log_mgmt.c logging: add log_source_id_get 2022-07-01 16:30:30 +02:00
log_minimal.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
log_msg.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
log_output_dict.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_output_syst.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_output.c logging: Add LOG_RAW macro 2022-09-05 06:26:54 -04:00