[lttng-dev] When is tracepoint registration finished?

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Jul 20 14:21:02 EDT 2012


* Oestman, Fredrik (Fredrik_Oestman at mentor.com) wrote:
> Hi,
> 
> Is there any way to know from within the instrumented application when
> tracepoint registration is finished?

No.

> 
> We have instrumented clib functions, which are used by LTTng and start
> producing trace events before all tracepoint registration is finished.

Yep, this is because the events are triggered before the constructor
that registers the tracepoint probes gets called.

> On ARM, this messes up LTTng UST and faulty events are recorded.

What do you mean by faulty events ?

> On all architectures, we trace function calls we aren't interested in.

Well, if you trace _all_ function calls, then you get all function calls
;) Not just those of your application, but also those of library
constructors.

Thanks,

Mathieu

> 
> Cheers,
> 
> Fredrik Östman
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list