[PATCH] lib/tevent: Add trace point callback
Martin Schwenke
martin at meltin.net
Thu Jun 7 23:36:41 MDT 2012
lib/tevent: Add trace point callback
Set/get a single callback function to be invoked at various trace
points. Define "before wait" and "after wait" trace points - more
trace points can be added later if required.
CTDB wants this to log long waits and events.
================================
* There's a prerequisite patch that adds a tevent_context* to
poll_event_context. This makes all backends consistent.
* I've been back and forth with Volker a few times to get the patch
into its current state.
Patches also in my git repo at:
http://git.ozlabs.org/?p=martins-samba.git;a=shortlog;h=refs/heads/tevent-wip
peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lib-tevent-In-poll_event_context-add-a-pointer-back-.patch
Type: text/x-patch
Size: 1008 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120608/714ec6d6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lib-tevent-Add-trace-point-callback.patch
Type: text/x-patch
Size: 13624 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120608/714ec6d6/attachment-0001.bin>
More information about the samba-technical
mailing list