summaryrefslogtreecommitdiffstats
path: root/ctdb/lib/tdb/python/tdbdump.py
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-10-20 12:19:41 +1030
committerStefan Metzmacher <metze@samba.org>2009-12-16 08:03:49 +0100
commit7f857c4d148aa9ac553bf72dc9cc786926c7d070 (patch)
tree5ea9544598467b9fef51ac8924707adbbf8457d2 /ctdb/lib/tdb/python/tdbdump.py
parent805ef91707e70177ab2c9bf9c7280a1e1be8f476 (diff)
downloadsamba-7f857c4d148aa9ac553bf72dc9cc786926c7d070.tar.gz
samba-7f857c4d148aa9ac553bf72dc9cc786926c7d070.tar.xz
samba-7f857c4d148aa9ac553bf72dc9cc786926c7d070.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> (cherry picked from samba commit 703004340c3e0f43f741bd368d2525cfd187d590) Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be ctdb commit b01b756cb577f32a1ec4597efb00017241e01685)
Diffstat (limited to 'ctdb/lib/tdb/python/tdbdump.py')
0 files changed, 0 insertions, 0 deletions