Re: Error in viewing the traces (LTTV 0.8.79)

Mathieu Desnoyers <[email protected]> Thu, 18 Oct 2007 07:28:54 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <20071018112853.GA29659@Krystal>
* Suprasad Mutalik Desai ([email protected]) wrote:
> hi all,
> 
>      I have 2.6.20 kernel in Multi threading mode , LTTV 0.8.79 ,
> LTTng 0.34 . I have taken the trace by executing " lttctl -n trace -d
> -l /mnt/debugfs/ltt -t /home/trace "  . When i run LTTV to view the
> traces i get an error
> 

LTTng 0.34 doesn't exist. I guess you mean ltt-control 0.34.

What LTTng version are you using then ?

Make sure you match
http://ltt.polymtl.ca/svn/ltt/branches/poly/doc/developer/lttng-lttv-compatibility.html

Upgrading to slightly more recent versions could help.

Mathieu

> 
> ** Message: statistics viewer : background computation data ready.
> ** Message: statistics viewer : background computation data ready.
> 
> ** ERROR **: file tracefile.c: line 2081 (ltt_update_event_size):
> assertion failed: (tf->event.data_size == tf->event.event_size)
> aborting...
> ./lttv-gui: line 10:  4764 Aborted                 $LTTV_CMD.real -m
> guievents -m guifilter -m guicontrolflow -m guistatistics -m
> guitracecontrol $*
> 
> 
> The contents of the trace file is
> 
> drwxr-xr-x  2 root root     4096 Oct 18 13:13 control
> -rwxr-xr-x  1 root root 60817408 Oct 18 13:28 cpu_0
> -rwxr-xr-x  1 root root 58720256 Oct 18 13:28 cpu_1
> -rwxr-xr-x  1 root root 40894464 Oct 18 13:28 cpu_2
> -rwxr-xr-x  1 root root 59768832 Oct 18 13:28 cpu_3
> drwxr-xr-x  2 root root     4096 Oct 18 13:13 eventdefs
> 
> What should i do to view the traces ?
> 
> Regards,
> Suprasad.
> _______________________________________________
> Ltt-dev mailing list
> [email protected]
> http://listserv.shafik.org/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68