From mboxrd@z Thu Jan 1 00:00:00 1970 From: unbutun@sohu.com (=?utf-8?B?dW5idXR1bg==?=) Date: Tue, 25 May 2010 06:10:07 +0800 Subject: [ltt-dev] =?utf-8?q?Hi=2C_everybody=2E_i_am_a_newbie_here!_who_co?= =?utf-8?q?uld_tell_mehow_can_i_use_LTTng_=28_i_just_need_an_exampl?= =?utf-8?q?e_without_Linux_Trace_Toolkit_NextGeneration_Manual=29?= References: <201005242014428284720@sohu.com> Message-ID: <201005250610002509596@sohu.com> Message-ID: <20100524221007.CNZm7lX8SHRXg2W7pRq9Dp3XZ6bkReX31SwN7irJ0Rw@z> Hi, Srikanth I do it as the following: 1. download the kernel 2.6.33.3 and patch patch-2.6.33.3-lttng-0.213.tar.gz , tar xzf them into /usr/src/kernel, move patch-2.6.33.3-lttng-0.213 to patches, move patches into linux-2.6.33.3 2. quilt push -a 3. enabled the kernel LTTng in make menuconfig, just enable this and every other is as default (kernel and LTTng) 4. build the kernel and install it 5. rpm -i the following: libkcompat-devel-0.0-1.1.i386.rpm liblttctl0-0.71-1.1.i386.rpm liblttctl-devel-0.71-1.1.i386.rpm liblttv0-0.12.17-1.1.i386.rpm liblttv-devel-0.12.17-1.1.i386.rpm liburcu0-0.2.3-alpha.1.1.i386.rpm liburcu-devel-0.2.3-alpha.1.1.i386.rpm ltt-control-0.71-1.1.i386.rpm ltt-control-debug-0.71-1.1.i386.rpm lttv-0.12.17-1.1.i386.rpm lttv-debug-0.12.17-1.1.i386.rpm 6. run your command: # lttctl -C -w /tmp/trace1 trace1 # lttctl -D trace1 all successful but # lttv -m textDump -t /tmp/trace1 > lttng-output.txt failed, and said that there is no metadata in /tmp/trace1/metadata_0 is there anything wrong with my steps or anything else do i need to install or config in my FC11 ? Thanks, Advance Any help would be much appreciated ! Regards, Gavin 2010-05-25 unbutun ???? srikanth krishnakar ????? 2010-05-24 21:39:35 ???? unbutun ??? ltt-dev ??? Re: [ltt-dev] Hi, everybody. i am a newbie here! who could tell mehow can i use LTTng ( i just need an example without Linux Trace Toolkit NextGeneration Manual) Gavin, 1. Make sure you are running the FC11 kernel 2.6.30 (any FC11 kernel) with LTTng support. That is you need to patch the kernel of FC11 with LTTng patches and should be loaded with all necessary LTTng kernel modules. 2. Once you make sure that CONFIG_LTT and other LTT options are enabled in kernel, then you need to run "ltt-armall" for markers. 3. Now you should be ready to start the trace process with the command : # lttctl -C -w /tmp/trace1 trace14. To stop tracing you run: # lttctl -D trace15. Dump the output to a text file # lttv -m textDump -t /tmp/trace1 > lttng-output.txt For more information, you can follow the instructions at : http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html -Srikanth On Mon, May 24, 2010 at 5:44 PM, unbutun wrote: Hi, just as the title, i have install lttng on FC11. and don't know how to use it to trace the kernel, is there anyone who is very kind to tell me about that without care about my junior question ? Thanks Advance Regards, Gavin 2010-05-24 unbutun _______________________________________________ ltt-dev mailing list ltt-dev at lists.casi.polymtl.ca http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -------------- next part -------------- An HTML attachment was scrubbed... URL: