[PATCH] tevent patches

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Feb 27 02:18:28 MST 2014

On Thu, Feb 27, 2014 at 09:03:30AM +0100, Stefan (metze) Metzmacher wrote:
> Hi Amitay,
> > Here are some improvements to tevent tracing functionality.  This was
> > especially useful for debugging CTDB and finding out what events are being
> > triggered often.
> > 
> > The patches are also available in my tree:
> We can't make trace point an compile time optional feature,
> smbd relies on this feature.
> Can you add a TEVENT_HAS_HANDLER_TRACE_POINTS define similar to

Just brainstorming....

Would it be possible to make these tracepoints if not used
0-cost when a handler is executed? If a caller wants to have
trace points, can we wrap the handlers in another function
at tevent_add_fd time & friends?


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list