mmap-cache: add some stats about files/windows/unused
authorVito Caputo <vcaputo@pengaru.com>
Sat, 21 Sep 2024 21:43:51 +0000 (14:43 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 13 Nov 2024 19:48:10 +0000 (19:48 +0000)
commit5e45c58274529970e4603fb1da66f5ebab431397
tree4cc8a4396673f9095f90ffb260b7c28b5f582c62
parent3dcde32fedd389f814fb2256a423cee6bc812584
mmap-cache: add some stats about files/windows/unused

Let's give some visibility into the ratio of files:windows:unused
by the time we're done using the cache.

(cherry picked from commit 284802c597aa0194dc1504db65ee24941d9721eb)
src/libsystemd/sd-journal/mmap-cache.c
src/libsystemd/sd-journal/sd-journal.c