* [ltt-dev] simultaneous lttng kerner tracer and userspace tracer
[not found] ` <AEEC49F6191270438015E45AEBE23C5F1A709536@FRMRSSXCHMBSC2.dc-m.alcatel-lucent.com>
@ 2010-06-17 2:05 ` Pierre-Marc Fournier
0 siblings, 0 replies; only message in thread
From: Pierre-Marc Fournier @ 2010-06-17 2:05 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] only message in thread