profiling: Factor out functions to read smbprofile.tdb
commit1cd2f38b54b7a79ae21a328075fae07cfdc5e9aa
authorVolker Lendecke <vl@samba.org>
Wed, 31 May 2023 07:48:58 +0000 (31 09:48 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 16 Jun 2023 16:14:30 +0000 (16 16:14 +0000)
treef436f05fe8a310cc69b22348599fb4d0fa5973e8
parent18070a2d657c3daf80cb1387bcb721275b6c3946
profiling: Factor out functions to read smbprofile.tdb

We don't need all of Samba just to dump contents of this tdb, make
exporting profile information cheaper.

No direct use yet, but it's a good cleanup IMHO

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/smbprofile.h
source3/profile/profile.c
source3/profile/profile_read.c [new file with mode: 0644]
source3/wscript_build