[ltt-dev] simultaneous lttng kerner tracer and userspace tracer

Pierre-Marc Fournier pierre-marc.fournier at polymtl.ca
Wed Jun 16 22:05:52 EDT 2010


On 06/10/2010 10:16 AM, MEKEZE KWATCHO, PATRICK (PATRICK) wrote:
> I start lttv-gui with lttv-gui without argument.
> After that, i used graphycal windows provided by lttv-gui to stard the trace and ended it.
> But this method, no userspace event is avalaible on the viewer.
>
> I have also try to stard the gui with the command lttv-gui -t path_to_hernel_trace , and atfer that, i added the userspace trace with add trace bouton provided by gui.
> Because i have forgotten to change the clock, i have on viewer a separation beetwen kernel event and userspace event.
> I think this will be arrange by changing  gettimeofday with kernel-lttng-compatible in the usttrace code as you have suggested.
>
> My veritable problem is that i don't want to use usttrace tool to lunch my application.
> I want only to run lttctl and trace both kernel event and userspace event.
> I think that something else should be done in the kernel or application to made it possible.
>
> Could some mann have an idea, and example  or a tutorial, which would help me?
>

You cannot use lttctl to start a ust trace.

If you do not want to start your program with usttrace, you can use the 
"manual mode" with the ustctl tool. Its usage is described in the ust 
manual.
http://lttng.org/files/ust/manual/ust.html
Look at section 5.2

pmf




More information about the lttng-dev mailing list