[ltt-dev] LTTng kernel tracing with -a (append) feature

srikanth krishnakar skrishnakar at gmail.com
Mon Dec 20 14:12:27 EST 2010


Hello Mathieu,

I am trying to test the append functionality of the ltt-control :

ltt-control : 0.79
lttv-0.12.31
Linux-2.6.32.9

#############################################

#!/bin/sh
mount -t debugfs debugfs /mnt/debug
*ltt-armall*
*
*
*lttctl -C -w  /home/root/trace1 trace1*
*
*
*lttctl -s trace1*
sleep 2

*lttctl -p trace1*
*
*
# Pause and destroy a trace named trace1 and
*lttctl -D trace1*

*lttctl -C trace1 -w  /home/root/trace1 -a                <<<<< Appending
trace to existing one*
*
*
*lttctl -s trace1*
sleep 2

*lttctl -p trace1*
*
*
*lttctl -D trace1*
*
*
*ltt-disarmall*

*lttv -m textDump -t /home/root/trace1*
*
*
*###########################################*


Executing the above steps without  *'-a'* (append) options works perfectly
and i am able to get the trace output after dumping. But the problem lies in
when I try to execute with '-a' (append) feature, then the error displayed
is difference in kernel event sizes and unable to dump the ouput

--------------------------------------------------------------------------------
** ERROR **: Kernel/LTTV event size differs for event timer_set: kernel 11,
LTTV 12
aborting...
/usr/bin/lttv: line 15:  1516 Aborted                 $0.real $*
--------------------------------------------------------------------------------

Is there anything missing or am i running out of process that needs to be
followed to obtain the appended trace result ??

Is there any info in LTTng user manual that shows the steps to follow for
using append feature of LTT-CONTROL in kernel tracing ?

Thanks in advance !!!
-S


-- 
"The Good You Do, The Best You GET"

Regards
Srikanth Krishnakar
**********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20101221/d018b24a/attachment-0003.htm>


More information about the lttng-dev mailing list