[lttng-dev] Viewing userspace apps traces

Paul Chavent paul.chavent at fnac.net
Wed Oct 3 01:50:29 EDT 2012


Thank you for your reply :

On 10/02/2012 10:29 PM, Alexandre Montplaisir wrote:
> Hi Paul,
> On 12-10-02 04:10 PM, Paul Chavent wrote:
>> Hi.
>> Today, I've tested the tracing of a user space app.
>> I wonder what is the best solution for viewing it ?
>> I have tried babeltrace that produce a good comprehensive text outpout.
>> I have tried eclipse that isn't able to use the vtid and vpid context.
>> It's unfortunate as i would like to see a timeline representation...
> Do you mean the Events view does not show the event contexts? It should,
> afaik. It could be a bug.
> As for graphical views, like timegraphs, it's not easy to have a general
> view that can work with any UST trace. Each application defines its own
> event types, so we have no guarantee for any given event type to be there.
> What would you like see in your "timeline representation" exactly? Maybe
> we could give you some pointers as to how to implement such a view.
> (We're currently working on making it easy to extend the framework to
> implement new views, so this could be a good exercise!)

I would like to see, eg, one line per tid, and on each line, the value of one context or argument value.

I'm ready to follow an exercise for extending the framework !

>> Is it a good solution to use the custom text parser of the eclipse tool ?
> Not really, the custom parsers are, for example, when you have a text
> log and want to import it into the TMF framework. LTTng/UST traces are
> in CTF format, and that format is already supported in TMF.
> Cheers,

More information about the lttng-dev mailing list