[lttng-dev] When is tracepoint registration finished?
Oestman, Fredrik
Fredrik_Oestman at mentor.com
Mon Jul 23 02:58:08 EDT 2012
Hi,
Mathieu Desnoyers wrote:
> Oestman, Fredrik (Fredrik_Oestman at mentor.com) wrote:
> > Is there any way to know from within the instrumented application
> > when tracepoint registration is finished?
>
> No.
OK. Does any internal knowledge about this exist somewhere, which could be externalized?
> > On ARM, this messes up LTTng UST and faulty events are recorded.
> What do you mean by faulty events ?
1. Wrong trace data type:
1.a) A tracepoint for one type produces events of another type, for which there is a tracepoint.
1.b) A tracepoint produces a non-existing type, which makes babeltrace choke on the data, index out of range
2. Wrong field: Data belonging to field #2 sent in field #1, in combination with 1.a)
> Well, if you trace _all_ function calls, then you get all function
> calls
Yes, this was no surprise, just one more reason to try to find out when tracepoint registration is finished.
Cheers,
Fredrik Östman
More information about the lttng-dev
mailing list