[PATCH] lib/tevent: Add trace point callback
Stefan (metze) Metzmacher
metze at samba.org
Fri Jun 8 00:10:42 MDT 2012
Hi Martin,
> 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
Can you please remove the globals and put them into struct tevent_context,
please add a sub struct 'tracing' similar to 'nesting'.
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120608/8b07d9ea/attachment.pgp>
More information about the samba-technical
mailing list