Re: [lttng-dev] [RFC PATCH lttng-ust] Produce section with tracepoint callsite addresses

2015-09-14 Thread Mathieu Desnoyers
- On Sep 2, 2015, at 5:49 PM, Simon Marchi simon.mar...@polymtl.ca wrote: > There used to be an integration between lttng-ust 0.x and gdb, where gdb > could list locations of ust tracepoints and put its own tracepoints > there. That means that this old-style lttng-ust marker: > >

[lttng-dev] [RFC PATCH lttng-ust] Produce section with tracepoint callsite addresses

2015-09-02 Thread Simon Marchi
There used to be an integration between lttng-ust 0.x and gdb, where gdb could list locations of ust tracepoints and put its own tracepoints there. That means that this old-style lttng-ust marker: trace_mark(ust, bar33, "str %s", "FOOBAZ"); could be used to set a gdb tracepoint like this:

Re: [lttng-dev] [RFC PATCH lttng-ust] Produce section with tracepoint callsite addresses

2015-09-02 Thread Simon Marchi
On 2 September 2015 at 17:49, Simon Marchi wrote: > so that it's possible to determine where each tracepoint is used (and > supporting tracepoints being called at multiple locations). I made a > prototype of gdb that reads the content of this section, available here: > >