zephyr/subsys/logging
Kamil Krzyzanowski cd281ab40b logging: fs backend: simplify checking if file exists
In order to check if the desired log file exists, the backend would open
the directory, then go through all the files seeing if one of them matches
the correct filename. Simplify to just `fs_stat` the file instead.

This has the added side effect of lowering the time spent checking if the
file exists after every log. Some quick testing revealed the time spent
checking went down from ~150-300ms to ~10ms (on my specific board, with a
nRF9160 writing to a LittleFS on external flash).

Signed-off-by: Kamil Krzyzanowski <kamnxt@kamnxt.com>
2025-02-07 14:33:35 +01:00
..
backends logging: fs backend: simplify checking if file exists 2025-02-07 14:33:35 +01:00
frontends logging: frontends: stmesp: Fix logging single argument log twice 2025-01-24 15:43:19 +01:00
mipi_syst
CMakeLists.txt
Kconfig
Kconfig.filtering
Kconfig.formatting logging: remove part for when gmtime_r is not available 2024-12-10 08:06:25 +01:00
Kconfig.links
Kconfig.misc logging: log_cmds: Enable log commands for shell with the logging frontend 2024-10-17 10:48:25 -04:00
Kconfig.mode
Kconfig.processing logging: increase the maximum value of LOG_BUFFER_SIZE 2024-12-12 19:59:51 +01:00
Kconfig.template.log_config
Kconfig.template.log_config_inherit
Kconfig.template.log_format_config
log_cache.c
log_cache.h
log_cmds.c logging: log_cmds: init uninitialized backend on log_go() 2025-02-04 15:00:58 +01:00
log_core.c logging: init backend id regardless of autostart 2025-02-04 15:00:58 +01:00
log_link_ipc_service.c
log_mgmt.c logging: init backend id regardless of autostart 2025-02-04 15:00:58 +01:00
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 logging: log_output: move partly unused code 2024-12-10 08:06:25 +01:00