[ltt-dev] Arming only a few markers in LTTng

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Feb 2 11:10:01 EST 2009


* Pierre-Marc Fournier (pierre-marc.fournier at polymtl.ca) wrote:
> Hi Gaurav,
> 
> Please tell us what tracepoints from the standard ones you tried to
> enable. LTTV has some analyses that are pretty tied to some of them and
> it might not digest well that some are absent.
> 
> Does it work in text dump?
> lttv.real -m textDump -t /tmp/your/trace
> 
> Does it work in gui when the only loaded plugin is the event viewer?
> lttv.real -m lttvwindow -m guievents -t /tmp/your/trace
> 
> If so, you might try enabling other views until it segfaults to find the
> culprit.
> 

Hi Gaurav,

LTTV *should* support the fact that probes are missing. If you can,
please compile with :

./configure CFLAGS="-g"
make
make install

and run through gdb

gdb path_to/lttv.real
set args -m textDump -t /tmp/trace
or
set args -m guicontrolflow -t /tmp/trace

So you can report the backtrace (bt full) when it segfaults.

Thanks,

Mathieu

> Thanks
> 
> pmf
> 
> 
> Gaurav Singh wrote:
> > Hi,
> >  
> > Just a small query on ltt-armall. I tried enabling only a few markers at
> > runtime instead of running ltt-armall. The trace was successfully
> > collected but viewing the trace in LTTV is giving a segmentation fault.
> > Has anyone tried this before?
> >  
> > Regards
> > Gaurav
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > ltt-dev mailing list
> > ltt-dev at lists.casi.polymtl.ca
> > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list