zephyr/subsys
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
..
bindesc bindesc: Add support for reading binary descriptors 2024-10-11 13:20:49 -04:00
bluetooth Bluetooth: Mesh: remove deprecated field in cdb subnet 2025-02-06 21:13:31 +01:00
canbus lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
console
dap kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
debug drivers: coredump: Place API into iterable section 2024-12-03 02:36:38 +01:00
demand_paging demand_paging: use ram backend by default 2025-01-09 15:50:37 +01:00
dfu dfu: flash_img: add flash_img_get_upload_slot() 2025-01-17 09:07:45 +01:00
disk disk: disk_access: changed mutex for a spinlock 2024-08-26 17:26:36 -04:00
dsp
emul emul: Support UART device emulation 2024-07-30 18:28:17 +01:00
fb fb: cfb: Fix print of ASCII chars from 128 to 255 2025-01-29 04:18:02 +01:00
fs fs: ext2: Fix potential integer overflow in disk access size calculation 2025-01-30 16:20:58 +01:00
input input: prevent the caller from sleeping in sysworkq 2024-11-29 14:49:43 +01:00
ipc ipc: ipc_service: Null terminate RPMsg endpoint names 2025-01-22 10:40:27 +01:00
jwt mbedtls: select ENTROPY_GENERATOR when a driver is available 2024-12-19 17:53:37 +01:00
llext llext: add option to import all global symbols 2025-01-29 11:04:33 +01:00
logging logging: fs backend: simplify checking if file exists 2025-02-07 14:33:35 +01:00
lorawan lorawan: clock_sync: assert instead of error code 2025-02-03 16:59:29 +01:00
mctp mctp: mark MCTP as experimental 2025-01-15 22:58:09 +01:00
mem_mgmt
mgmt mgmt: mcumgr: grp: img_mgmt: Add image number to confirmed callback 2025-02-04 11:56:31 +01:00
modbus modbus: initialize return variable. 2025-01-21 19:28:52 +01:00
modem drivers: modem: initialize variables to avoid warn 2024-11-19 10:04:58 -05:00
net net: coap: Fix uninitialized variable warning 2025-02-06 17:49:42 +01:00
pm doc: releases: 4.1: Document removed PM symbol 2025-01-31 07:50:17 +01:00
portability Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
profiling arch: remove z_arch_esf_t 2025-01-23 16:32:36 +01:00
random mbedtls: select ENTROPY_GENERATOR when a driver is available 2024-12-19 17:53:37 +01:00
retention
rtio rtio: Split the rx and tx buffer unions 2024-08-17 08:55:01 -04:00
sd sd: resend CMD0 before each CMD8 2024-08-27 15:14:23 -04:00
secure_storage secure storage: Add missing include for mbedtls_platform_zeroize 2025-01-27 21:04:20 +01:00
sensing sensing: Fix static assert in get_sensor_by_dev() 2025-01-18 12:40:03 +01:00
settings settings: introduce priority for commit 2024-10-24 22:04:07 +01:00
shell shell: Fix Kconfig dependencies 2025-02-06 21:14:01 +01:00
sip_svc everywhere: replace double words 2024-06-22 05:40:22 -04:00
stats
storage storage/stream_flash: Switch to stream_flash_erase_to_append 2025-01-30 14:13:42 +01:00
task_wdt task_wdt: Kconfig: Increase TASK_WDT_HW_FALLBACK_DELAY range 2025-01-07 20:34:41 +01:00
testsuite ztest: Don't clear test stats before running suite 2025-01-29 15:12:51 +01:00
timing
tracing tracing: k_pipe: Add tracing support for reworked k_pipe API 2025-01-17 19:43:44 +01:00
usb usb: device_next: Document if callbacks are mandatory 2025-02-05 14:56:47 +01:00
zbus zbus: assert when inside an ISR and time out is not zero 2025-01-21 19:30:20 +01:00
CMakeLists.txt mctp: Add mctp subsystem with uart binding 2025-01-14 22:55:41 +01:00
Kconfig mctp: Add mctp subsystem with uart binding 2025-01-14 22:55:41 +01:00