diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-10-20 12:19:41 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-10-22 00:00:12 +1030 |
commit | 703004340c3e0f43f741bd368d2525cfd187d590 (patch) | |
tree | 586695354ca782f374b2bcffc46a015e70a5fa79 /merged-branches.txt | |
parent | 1467e5eaab24b2b5c90ba0dd4e9dad4f321568c3 (diff) | |
download | samba-703004340c3e0f43f741bd368d2525cfd187d590.tar.gz samba-703004340c3e0f43f741bd368d2525cfd187d590.tar.bz2 samba-703004340c3e0f43f741bd368d2525cfd187d590.zip |
lib/tdb: TDB_TRACE support (for developers)
When TDB_TRACE is defined (in tdb_private.h), verbose tracing of tdb operations is enabled.
This can be replayed using "replay_trace" from http://ccan.ozlabs.org/info/tdb.
The majority of this patch comes from moving internal functions to _<funcname> to
avoid double-tracing. There should be no additional overhead for the normal (!TDB_TRACE)
case.
Note that the verbose traces compress really well with rzip.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'merged-branches.txt')
0 files changed, 0 insertions, 0 deletions