Hi Alexandre Montplaisir, I got the answer from Mathew last e-mail. * Thanks and Regards -Naresh Bhat*
On Tue, Dec 21, 2010 at 1:58 PM, Naresh Bhat <[email protected]> wrote: > Hi Alexandre Montplaisir, > > My script contains the following lines > > =========================================================== > *#!/bin/bash > rm -rf /home/root/trace1 > mount -t debugfs debugfs /mnt/debugfs > ltt-armall > #echo 1 > /mnt/debugfs/ltt/markers/mm/swap_file_close/enable > lttctl -c trace1 -w /home/root/trace1 > lttctl -s trace1 > sleep 2 > lttctl -p trace1 > lttctl -d trace1 > > lttctl -c trace1 -w /home/root/trace1 -a > lttctl -s trace1 > sleep 2 > lttctl -p trace1 > lttctl -d trace1 > > ltt-disarmall > #echo 0 > /mnt/debugfs/ltt/markers/mm/swap_file_close/enable > > lttv -m textDump -t /home/root/trace1 > #-d -v > umount /mnt/debugfs > *============================================================== > > Please, let me know if any thing wrong with my script. > > > *Thanks and Regards > -Naresh Bhat* > > On Fri, Dec 17, 2010 at 1:20 AM, Alexandre Montplaisir < > [email protected]> wrote: > >> On 10-12-16 10:38 AM, Naresh Bhat wrote: >> > *r...@x86-generic:~# ls -l /usr/lib/libltt* >> > lrwxrwxrwx 1 root root 18 Dec 16 14:06 /usr/lib/liblttctl.so.0 -> >> > liblttctl.so.0.0.0 >> > -rwxr-xr-x 1 root root 12560 Dec 13 10:49 /usr/lib/liblttctl.so.0.0.0 >> > -rwxr-xr-x 1 root root 34580 Dec 16 14:02 /usr/lib/ >> liblttvtraceread-2.6.so >> > -rwxr-xr-x 1 root root 1103 Dec 16 14:02 /usr/lib/liblttvtraceread.la >> > lrwxrwxrwx 1 root root 23 Dec 16 14:06 /usr/lib/liblttvtraceread.so >> -> >> > liblttvtraceread-2.6.so >> > r...@x86-generic:~#* >> > >> >> Is this really your /usr/lib ? (And not /usr/local/lib) ? >> >> You installed a version from the packages didn't you? Or did you just >> manually install them in /usr/lib ? >> Like Yannick said, that probably explains the error you were getting : >> you were generating traces in the 2.5 format but the trace reading >> library was expecting 2.6 >> >> >> An alternative would be to update to a more recent version. You >> >> mentioned in your previous email you are using kernel 2.6.32.21. You >> >> should be able to patch it with LTTng version 0.198 without too much >> >> problems. >> >> http://lttng.org/files/lttng/patch-2.6.32.9-lttng-0.198.tar.bz2 >> >> >> >> This will generate patches using the trace format 2.6. You could then >> >> use lttctl 0.87 and LTTV 0.12.36. Make sure you "make uninstall" the >> old >> >> versions before installing those. >> >> >> > With the * 2.6.32.9-lttng-0.198, ltt-control-0.87-09062010.tar.gz, >> > lttv-0.12.36-18112010.tar.gz* I am getting the following error message >> >> Can you post you script? >> >> Then try again but making sure you only have 1 version of each tool >> installed, either from packages or from sources. >> >> -- >> Alexandre Montplaisir >> DORSAL lab, >> École Polytechnique de Montréal >> >>
_______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
