]> git.ipfire.org Git - thirdparty/samba.git/commit
profile: dynamic per-share in-memory counters
authorShachar Sharon <ssharon@redhat.com>
Mon, 28 Apr 2025 09:05:25 +0000 (12:05 +0300)
committerAnoop C S <anoopcs@samba.org>
Mon, 23 Jun 2025 13:04:31 +0000 (13:04 +0000)
commit0733f232f49944fee8371b6db4adb949d59aa965
tree5fdc08122f007abb278a026790655ff398d63b25
parent5d68404dc0b1031f40d3a9016ccdddc23a95a870
profile: dynamic per-share in-memory counters

Mechanism to support per-share per-process run-time profiling counters.
Use in-memory cache for storing run-time entries, using 'snum' as key.
When storing in TDB file, uses unique key for each per-share profile
entry.

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source3/include/smbprofile.h
source3/profile/profile.c