* [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual)
@ 2010-05-24 12:14 unbutun
2010-05-24 12:14 ` unbutun
` (3 more replies)
0 siblings, 4 replies; 24+ messages in thread
From: unbutun @ 2010-05-24 12:14 UTC (permalink / raw)
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100524/bdfbd1ff/attachment-0002.htm>
^ permalink raw reply [flat|nested] 24+ messages in thread* [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) 2010-05-24 12:14 [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) unbutun @ 2010-05-24 12:14 ` unbutun 2010-05-24 12:14 ` unbutun ` (2 subsequent siblings) 3 siblings, 0 replies; 24+ messages in thread From: unbutun @ 2010-05-24 12:14 UTC (permalink / raw) 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100524/bdfbd1ff/attachment-0003.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) 2010-05-24 12:14 [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) unbutun 2010-05-24 12:14 ` unbutun @ 2010-05-24 12:14 ` unbutun 2010-05-24 13:39 ` srikanth krishnakar 2010-05-24 22:10 ` [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) unbutun 3 siblings, 0 replies; 24+ messages in thread From: unbutun @ 2010-05-24 12:14 UTC (permalink / raw) 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100524/bdfbd1ff/attachment.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) 2010-05-24 12:14 [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) unbutun 2010-05-24 12:14 ` unbutun 2010-05-24 12:14 ` unbutun @ 2010-05-24 13:39 ` srikanth krishnakar 2010-05-24 13:39 ` srikanth krishnakar 2010-05-24 13:39 ` srikanth krishnakar 2010-05-24 22:10 ` [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) unbutun 3 siblings, 2 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-24 13:39 UTC (permalink / raw) 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 trace1 4. To stop tracing you run: # lttctl -D trace1 5. 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 <unbutun at sohu.com> 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: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100524/0f703045/attachment-0001.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) 2010-05-24 13:39 ` srikanth krishnakar @ 2010-05-24 13:39 ` srikanth krishnakar 2010-05-24 13:39 ` srikanth krishnakar 1 sibling, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-24 13:39 UTC (permalink / raw) 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 trace1 4. To stop tracing you run: # lttctl -D trace1 5. 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 <unbutun at sohu.com> 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: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100524/0f703045/attachment.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) 2010-05-24 13:39 ` srikanth krishnakar 2010-05-24 13:39 ` srikanth krishnakar @ 2010-05-24 13:39 ` srikanth krishnakar 1 sibling, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-24 13:39 UTC (permalink / raw) 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 trace1 4. To stop tracing you run: # lttctl -D trace1 5. 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 <unbutun at sohu.com> 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: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100524/0f703045/attachment-0002.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [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) 2010-05-24 12:14 [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) unbutun ` (2 preceding siblings ...) 2010-05-24 13:39 ` srikanth krishnakar @ 2010-05-24 22:10 ` unbutun 2010-05-24 22:10 ` unbutun ` (3 more replies) 3 siblings, 4 replies; 24+ messages in thread From: unbutun @ 2010-05-24 22:10 UTC (permalink / raw) 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 <unbutun at sohu.com> 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: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100525/9164de64/attachment-0002.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [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) 2010-05-24 22:10 ` [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) unbutun @ 2010-05-24 22:10 ` unbutun 2010-05-24 22:10 ` unbutun ` (2 subsequent siblings) 3 siblings, 0 replies; 24+ messages in thread From: unbutun @ 2010-05-24 22:10 UTC (permalink / raw) 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 <unbutun at sohu.com> 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: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100525/9164de64/attachment-0001.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [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) 2010-05-24 22:10 ` [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) unbutun 2010-05-24 22:10 ` unbutun @ 2010-05-24 22:10 ` unbutun 2010-05-25 6:57 ` srikanth krishnakar [not found] ` <201005252006418592440@sohu.com> 3 siblings, 0 replies; 24+ messages in thread From: unbutun @ 2010-05-24 22:10 UTC (permalink / raw) 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 <unbutun at sohu.com> 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: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100525/9164de64/attachment-0003.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [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) 2010-05-24 22:10 ` [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) unbutun 2010-05-24 22:10 ` unbutun 2010-05-24 22:10 ` unbutun @ 2010-05-25 6:57 ` srikanth krishnakar 2010-05-25 6:57 ` srikanth krishnakar 2010-05-25 6:57 ` srikanth krishnakar [not found] ` <201005252006418592440@sohu.com> 3 siblings, 2 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-25 6:57 UTC (permalink / raw) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: > 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 > I think you have missed the following command here, before starting the trace; *# ltt-armall* Then you follow with the below commands !!! > > 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 trace1 > > 4. To stop tracing you run: > > # lttctl -D trace1 > > 5. 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 <unbutun at sohu.com> 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 > ********************** > -- "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/20100525/09787b92/attachment-0003.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [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) 2010-05-25 6:57 ` srikanth krishnakar @ 2010-05-25 6:57 ` srikanth krishnakar 2010-05-25 6:57 ` srikanth krishnakar 1 sibling, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-25 6:57 UTC (permalink / raw) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: > 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 > I think you have missed the following command here, before starting the trace; *# ltt-armall* Then you follow with the below commands !!! > > 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 trace1 > > 4. To stop tracing you run: > > # lttctl -D trace1 > > 5. 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 <unbutun at sohu.com> 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 > ********************** > -- "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/ltt-dev/attachments/20100525/09787b92/attachment.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [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) 2010-05-25 6:57 ` srikanth krishnakar 2010-05-25 6:57 ` srikanth krishnakar @ 2010-05-25 6:57 ` srikanth krishnakar 1 sibling, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-25 6:57 UTC (permalink / raw) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: > 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 > I think you have missed the following command here, before starting the trace; *# ltt-armall* Then you follow with the below commands !!! > > 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 trace1 > > 4. To stop tracing you run: > > # lttctl -D trace1 > > 5. 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 <unbutun at sohu.com> 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 > ********************** > -- "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/20100525/09787b92/attachment-0002.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
[parent not found: <201005252006418592440@sohu.com>]
* [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) [not found] ` <201005252006418592440@sohu.com> @ 2010-05-25 12:33 ` srikanth krishnakar 2010-05-25 12:33 ` srikanth krishnakar 2010-05-25 12:33 ` srikanth krishnakar 2010-05-26 11:54 ` [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) unbutun 1 sibling, 2 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-25 12:33 UTC (permalink / raw) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- *Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. * 1.* ltt-armall* (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. *lttctl -C -w /tmp/trace1 trace1* (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3.* ** lttctl -D trace1* 4.* ** lttv -m textDump -t /tmp/trace1 > lttng-output.txt *If you are following the same steps, then show me the output of command -> "*ltt-armall*" . -Srikanth* * 2010/5/25 unbutun <unbutun at sohu.com> > No, Srikanth, i do everything in the > Linux Trace ToolkitNextGeneration Manual > > and > # lttctl -C -w /tmp/trace1 trace1 > > > # lttctl -D trace1 > all successful > > but there is nothing in /tmp/trace1/ files (these files' size is 0 ) > > # lttv -m textDump -t /tmp/trace1 > > got the error: > > The input data file /tmp/trace1/irq_state_0 does not contain a trace > The input data file /tmp/trace1/module_state_0 does not contain a trace > The input data file /tmp/trace1/syscall_state_0 does not contain a trace > The input data file /tmp/trace1/softirq_state_0 does not contain a trace > The input data file /tmp/trace1/metadata_0 does not contain a trace > The input data file /tmp/trace1/swap_state_0 does not contain a trace > > (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile > (process: 2272): CRITICAL: cannot open trace /tmp/trace1 > > /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* > > Do you know what's wrong of that? > > > Thanks, Advance > > And thank you for your kind > > Regards, > > Gavin > 2010-05-25 > ------------------------------ > Happy everyday ! > ------------------------------ > *????* srikanth krishnakar > *?????* 2010-05-25 14:56:25 > *????* unbutun > *???* > *???* Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could > tellmehow can i use LTTng ( i just need an example without Linux Trace > ToolkitNextGeneration Manual) > > > On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: > >> 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 >> > > > I think you have missed the following command here, before starting the > trace; > > *# ltt-armall* > > Then you follow with the below commands !!! > >> >> 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 trace1 >> >> 4. To stop tracing you run: >> >> >> # lttctl -D trace1 >> >> 5. 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 <unbutun at sohu.com> 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 >> ********************** >> > > > > -- > "The Good You Do, The Best You GET" > > Regards > Srikanth Krishnakar > ********************** > -- "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/20100525/5b6405f3/attachment-0003.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) 2010-05-25 12:33 ` [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) srikanth krishnakar @ 2010-05-25 12:33 ` srikanth krishnakar 2010-05-25 12:33 ` srikanth krishnakar 1 sibling, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-25 12:33 UTC (permalink / raw) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- *Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. * 1.* ltt-armall* (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. *lttctl -C -w /tmp/trace1 trace1* (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3.* ** lttctl -D trace1* 4.* ** lttv -m textDump -t /tmp/trace1 > lttng-output.txt *If you are following the same steps, then show me the output of command -> "*ltt-armall*" . -Srikanth* * 2010/5/25 unbutun <unbutun at sohu.com> > No, Srikanth, i do everything in the > Linux Trace ToolkitNextGeneration Manual > > and > # lttctl -C -w /tmp/trace1 trace1 > > > # lttctl -D trace1 > all successful > > but there is nothing in /tmp/trace1/ files (these files' size is 0 ) > > # lttv -m textDump -t /tmp/trace1 > > got the error: > > The input data file /tmp/trace1/irq_state_0 does not contain a trace > The input data file /tmp/trace1/module_state_0 does not contain a trace > The input data file /tmp/trace1/syscall_state_0 does not contain a trace > The input data file /tmp/trace1/softirq_state_0 does not contain a trace > The input data file /tmp/trace1/metadata_0 does not contain a trace > The input data file /tmp/trace1/swap_state_0 does not contain a trace > > (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile > (process: 2272): CRITICAL: cannot open trace /tmp/trace1 > > /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* > > Do you know what's wrong of that? > > > Thanks, Advance > > And thank you for your kind > > Regards, > > Gavin > 2010-05-25 > ------------------------------ > Happy everyday ! > ------------------------------ > *????* srikanth krishnakar > *?????* 2010-05-25 14:56:25 > *????* unbutun > *???* > *???* Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could > tellmehow can i use LTTng ( i just need an example without Linux Trace > ToolkitNextGeneration Manual) > > > On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: > >> 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 >> > > > I think you have missed the following command here, before starting the > trace; > > *# ltt-armall* > > Then you follow with the below commands !!! > >> >> 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 trace1 >> >> 4. To stop tracing you run: >> >> >> # lttctl -D trace1 >> >> 5. 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 <unbutun at sohu.com> 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 >> ********************** >> > > > > -- > "The Good You Do, The Best You GET" > > Regards > Srikanth Krishnakar > ********************** > -- "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/20100525/5b6405f3/attachment-0002.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) 2010-05-25 12:33 ` [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) srikanth krishnakar 2010-05-25 12:33 ` srikanth krishnakar @ 2010-05-25 12:33 ` srikanth krishnakar 1 sibling, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-25 12:33 UTC (permalink / raw) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- *Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. * 1.* ltt-armall* (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. *lttctl -C -w /tmp/trace1 trace1* (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3.* ** lttctl -D trace1* 4.* ** lttv -m textDump -t /tmp/trace1 > lttng-output.txt *If you are following the same steps, then show me the output of command -> "*ltt-armall*" . -Srikanth* * 2010/5/25 unbutun <unbutun at sohu.com> > No, Srikanth, i do everything in the > Linux Trace ToolkitNextGeneration Manual > > and > # lttctl -C -w /tmp/trace1 trace1 > > > # lttctl -D trace1 > all successful > > but there is nothing in /tmp/trace1/ files (these files' size is 0 ) > > # lttv -m textDump -t /tmp/trace1 > > got the error: > > The input data file /tmp/trace1/irq_state_0 does not contain a trace > The input data file /tmp/trace1/module_state_0 does not contain a trace > The input data file /tmp/trace1/syscall_state_0 does not contain a trace > The input data file /tmp/trace1/softirq_state_0 does not contain a trace > The input data file /tmp/trace1/metadata_0 does not contain a trace > The input data file /tmp/trace1/swap_state_0 does not contain a trace > > (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile > (process: 2272): CRITICAL: cannot open trace /tmp/trace1 > > /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* > > Do you know what's wrong of that? > > > Thanks, Advance > > And thank you for your kind > > Regards, > > Gavin > 2010-05-25 > ------------------------------ > Happy everyday ! > ------------------------------ > *????* srikanth krishnakar > *?????* 2010-05-25 14:56:25 > *????* unbutun > *???* > *???* Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could > tellmehow can i use LTTng ( i just need an example without Linux Trace > ToolkitNextGeneration Manual) > > > On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: > >> 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 >> > > > I think you have missed the following command here, before starting the > trace; > > *# ltt-armall* > > Then you follow with the below commands !!! > >> >> 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 trace1 >> >> 4. To stop tracing you run: >> >> >> # lttctl -D trace1 >> >> 5. 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 <unbutun at sohu.com> 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 >> ********************** >> > > > > -- > "The Good You Do, The Best You GET" > > Regards > Srikanth Krishnakar > ********************** > -- "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/ltt-dev/attachments/20100525/5b6405f3/attachment-0001.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) [not found] ` <201005252006418592440@sohu.com> 2010-05-25 12:33 ` [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) srikanth krishnakar @ 2010-05-26 11:54 ` unbutun 2010-05-26 11:54 ` unbutun ` (2 more replies) 1 sibling, 3 replies; 24+ messages in thread From: unbutun @ 2010-05-26 11:54 UTC (permalink / raw) Hi, srikanth I know my fault is the version of Lttng lttctl lttv Now, it's work, and have output of lttv -m textDump -t /tmp/trace1 in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz patch-2.6.29-lttng-0.1222.tar.gz without ltt-usertrace-0.6.tar.gz But, use lttv-gui, show there unknow_process in process tag, and show MODULE_UNKNOW in mode_types what's wrong of that ? is there any option which needed to choose in menuconfig ? or anyother i need to do ? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-26 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 20:33:36 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. 1. ltt-armall (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. lttctl -C -w /tmp/trace1 trace1 (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3. lttctl -D trace1 4. lttv -m textDump -t /tmp/trace1 > lttng-output.txt If you are following the same steps, then show me the output of command -> "ltt-armall" . -Srikanth 2010/5/25 unbutun <unbutun at sohu.com> No, Srikanth, i do everything in the Linux Trace ToolkitNextGeneration Manual and # lttctl -C -w /tmp/trace1 trace1 # lttctl -D trace1 all successful but there is nothing in /tmp/trace1/ files (these files' size is 0 ) # lttv -m textDump -t /tmp/trace1 got the error: The input data file /tmp/trace1/irq_state_0 does not contain a trace The input data file /tmp/trace1/module_state_0 does not contain a trace The input data file /tmp/trace1/syscall_state_0 does not contain a trace The input data file /tmp/trace1/softirq_state_0 does not contain a trace The input data file /tmp/trace1/metadata_0 does not contain a trace The input data file /tmp/trace1/swap_state_0 does not contain a trace (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile (process: 2272): CRITICAL: cannot open trace /tmp/trace1 /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* Do you know what's wrong of that? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-25 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 14:56:25 ???? unbutun ??? ??? Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: 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 I think you have missed the following command here, before starting the trace; # ltt-armall Then you follow with the below commands !!! 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 <unbutun at sohu.com> 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 ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "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/ltt-dev/attachments/20100526/4cd9b242/attachment-0001.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) 2010-05-26 11:54 ` [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) unbutun @ 2010-05-26 11:54 ` unbutun 2010-05-26 11:54 ` unbutun 2010-05-26 12:57 ` srikanth krishnakar 2 siblings, 0 replies; 24+ messages in thread From: unbutun @ 2010-05-26 11:54 UTC (permalink / raw) Hi, srikanth I know my fault is the version of Lttng lttctl lttv Now, it's work, and have output of lttv -m textDump -t /tmp/trace1 in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz patch-2.6.29-lttng-0.1222.tar.gz without ltt-usertrace-0.6.tar.gz But, use lttv-gui, show there unknow_process in process tag, and show MODULE_UNKNOW in mode_types what's wrong of that ? is there any option which needed to choose in menuconfig ? or anyother i need to do ? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-26 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 20:33:36 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. 1. ltt-armall (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. lttctl -C -w /tmp/trace1 trace1 (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3. lttctl -D trace1 4. lttv -m textDump -t /tmp/trace1 > lttng-output.txt If you are following the same steps, then show me the output of command -> "ltt-armall" . -Srikanth 2010/5/25 unbutun <unbutun at sohu.com> No, Srikanth, i do everything in the Linux Trace ToolkitNextGeneration Manual and # lttctl -C -w /tmp/trace1 trace1 # lttctl -D trace1 all successful but there is nothing in /tmp/trace1/ files (these files' size is 0 ) # lttv -m textDump -t /tmp/trace1 got the error: The input data file /tmp/trace1/irq_state_0 does not contain a trace The input data file /tmp/trace1/module_state_0 does not contain a trace The input data file /tmp/trace1/syscall_state_0 does not contain a trace The input data file /tmp/trace1/softirq_state_0 does not contain a trace The input data file /tmp/trace1/metadata_0 does not contain a trace The input data file /tmp/trace1/swap_state_0 does not contain a trace (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile (process: 2272): CRITICAL: cannot open trace /tmp/trace1 /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* Do you know what's wrong of that? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-25 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 14:56:25 ???? unbutun ??? ??? Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: 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 I think you have missed the following command here, before starting the trace; # ltt-armall Then you follow with the below commands !!! 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 <unbutun at sohu.com> 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 ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "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/20100526/4cd9b242/attachment-0003.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) 2010-05-26 11:54 ` [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) unbutun 2010-05-26 11:54 ` unbutun @ 2010-05-26 11:54 ` unbutun 2010-05-26 12:57 ` srikanth krishnakar 2 siblings, 0 replies; 24+ messages in thread From: unbutun @ 2010-05-26 11:54 UTC (permalink / raw) Hi, srikanth I know my fault is the version of Lttng lttctl lttv Now, it's work, and have output of lttv -m textDump -t /tmp/trace1 in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz patch-2.6.29-lttng-0.1222.tar.gz without ltt-usertrace-0.6.tar.gz But, use lttv-gui, show there unknow_process in process tag, and show MODULE_UNKNOW in mode_types what's wrong of that ? is there any option which needed to choose in menuconfig ? or anyother i need to do ? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-26 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 20:33:36 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. 1. ltt-armall (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. lttctl -C -w /tmp/trace1 trace1 (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3. lttctl -D trace1 4. lttv -m textDump -t /tmp/trace1 > lttng-output.txt If you are following the same steps, then show me the output of command -> "ltt-armall" . -Srikanth 2010/5/25 unbutun <unbutun at sohu.com> No, Srikanth, i do everything in the Linux Trace ToolkitNextGeneration Manual and # lttctl -C -w /tmp/trace1 trace1 # lttctl -D trace1 all successful but there is nothing in /tmp/trace1/ files (these files' size is 0 ) # lttv -m textDump -t /tmp/trace1 got the error: The input data file /tmp/trace1/irq_state_0 does not contain a trace The input data file /tmp/trace1/module_state_0 does not contain a trace The input data file /tmp/trace1/syscall_state_0 does not contain a trace The input data file /tmp/trace1/softirq_state_0 does not contain a trace The input data file /tmp/trace1/metadata_0 does not contain a trace The input data file /tmp/trace1/swap_state_0 does not contain a trace (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile (process: 2272): CRITICAL: cannot open trace /tmp/trace1 /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* Do you know what's wrong of that? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-25 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 14:56:25 ???? unbutun ??? ??? Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: 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 I think you have missed the following command here, before starting the trace; # ltt-armall Then you follow with the below commands !!! 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 <unbutun at sohu.com> 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 ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "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/20100526/4cd9b242/attachment-0002.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) 2010-05-26 11:54 ` [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) unbutun 2010-05-26 11:54 ` unbutun 2010-05-26 11:54 ` unbutun @ 2010-05-26 12:57 ` srikanth krishnakar 2010-05-26 12:57 ` srikanth krishnakar ` (2 more replies) 2 siblings, 3 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-26 12:57 UTC (permalink / raw) Copy your /tmp/trace1 to /root/trace1 then from LTTV-GUI add the trace directory /root/trace1 Now you should be able to see the data. -Srikant 2010/5/26 unbutun <unbutun at sohu.com> > Hi, srikanth > > I know my fault is the version of Lttng lttctl lttv > > Now, it's work, and have output of *lttv -m textDump -t /tmp/trace1* > ** > *in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz > linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz > patch-2.6.29-lttng-0.1222.tar.gz* > *without ltt-usertrace-0.6.tar.gz* > ** > *But, use lttv-gui, show there unknow_process in process tag, and show > MODULE_UNKNOW in mode_types* > ** > * what's wrong of that ? * > ** > *is there any option which needed to choose in menuconfig ?* > ** > *or anyother i need to do ?* > ** > * > Thanks, Advance > > And thank you for your kind > > Regards, > > Gavin > * > ** > > > 2010-05-26 > ------------------------------ > Happy everyday ! > ------------------------------ > *????* srikanth krishnakar > *?????* 2010-05-25 20:33:36 > *????* unbutun > *???* ltt-dev > *???* Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who > couldtellmehow can i use LTTng ( i just need an example without Linux > TraceToolkitNextGeneration Manual) > Gavin, > > Please make sure you have run the following command's in sequence : > > Before proceeding, run the following script: > > -------------------------------------------------------------- > #!/bin/bash > mkdir /mnt/debugfs > echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab > echo "debugfs Mounted" > echo ltt-filter >> /etc/modules > echo ltt-statedump >> /etc/modules > echo ltt-kprobes >> /etc/modules > echo ltt-marker-control >> /etc/modules > echo ltt-serialize >> /etc/modules > echo ltt-trace-control >> /etc/modules > echo ltt-userspace-event >> /etc/modules > > #probes > echo block-trace >> /etc/modules > echo fs-trace >> /etc/modules > echo ipc-trace >> /etc/modules > echo kernel-trace >> /etc/modules > echo lockdep-trace >> /etc/modules > echo mm-trace >> /etc/modules > echo net-extended-trace >> /etc/modules > echo net-trace >> /etc/modules > echo pm-trace >> /etc/modules > echo rcu-trace >> /etc/modules > echo syscall-trace >> /etc/modules > echo trap-trace >> /etc/modules > -------------------------------------------------------------- > > *Now Reboot the target, and proceed with the below steps !! You should be > now able to get the trace output. * > > 1.* ltt-armall* > > (The above is required to connect all the marker's, else you'll end up with > Zero sized trace file, as you have shown here) > > 2. *lttctl -C -w /tmp/trace1 trace1* > > (Now carry on with you normal process on the system, till then your trace > data will be collected, then after some time run the below command to assure > that all events are logged into the trace files) > > 3.* **lttctl -D trace1* > > 4.* **lttv -m textDump -t /tmp/trace1 > lttng-output.txt > > *If you are following the same steps, then show me the output of command > -> "*ltt-armall*" . > > -Srikanth* > * > > 2010/5/25 unbutun <unbutun at sohu.com> > >> No, Srikanth, i do everything in the >> Linux Trace ToolkitNextGeneration Manual >> >> and >> # lttctl -C -w /tmp/trace1 trace1 >> >> >> # lttctl -D trace1 >> all successful >> >> but there is nothing in /tmp/trace1/ files (these files' size is 0 ) >> >> # lttv -m textDump -t /tmp/trace1 >> >> got the error: >> >> The input data file /tmp/trace1/irq_state_0 does not contain a trace >> The input data file /tmp/trace1/module_state_0 does not contain a trace >> The input data file /tmp/trace1/syscall_state_0 does not contain a trace >> The input data file /tmp/trace1/softirq_state_0 does not contain a trace >> The input data file /tmp/trace1/metadata_0 does not contain a trace >> The input data file /tmp/trace1/swap_state_0 does not contain a trace >> >> (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile >> (process: 2272): CRITICAL: cannot open trace /tmp/trace1 >> >> /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* >> >> Do you know what's wrong of that? >> >> >> Thanks, Advance >> >> And thank you for your kind >> >> Regards, >> >> Gavin >> 2010-05-25 >> ------------------------------ >> Happy everyday ! >> ------------------------------ >> *????* srikanth krishnakar >> *?????* 2010-05-25 14:56:25 >> *????* unbutun >> *???* >> *???* Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could >> tellmehow can i use LTTng ( i just need an example without Linux Trace >> ToolkitNextGeneration Manual) >> >> >> On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: >> >>> 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 >>> >> >> >> I think you have missed the following command here, before starting the >> trace; >> >> *# ltt-armall* >> >> Then you follow with the below commands !!! >> >>> >>> 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 trace1 >>> >>> 4. To stop tracing you run: >>> >>> >>> >>> # lttctl -D trace1 >>> >>> 5. 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 <unbutun at sohu.com> 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 >>> ********************** >>> >> >> >> >> -- >> "The Good You Do, The Best You GET" >> >> Regards >> Srikanth Krishnakar >> ********************** >> > > > > -- > "The Good You Do, The Best You GET" > > Regards > Srikanth Krishnakar > ********************** > -- "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/ltt-dev/attachments/20100526/aad47209/attachment-0001.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) 2010-05-26 12:57 ` srikanth krishnakar @ 2010-05-26 12:57 ` srikanth krishnakar 2010-05-26 12:57 ` srikanth krishnakar 2010-05-27 12:08 ` [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Gavin 2 siblings, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-26 12:57 UTC (permalink / raw) Copy your /tmp/trace1 to /root/trace1 then from LTTV-GUI add the trace directory /root/trace1 Now you should be able to see the data. -Srikant 2010/5/26 unbutun <unbutun at sohu.com> > Hi, srikanth > > I know my fault is the version of Lttng lttctl lttv > > Now, it's work, and have output of *lttv -m textDump -t /tmp/trace1* > ** > *in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz > linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz > patch-2.6.29-lttng-0.1222.tar.gz* > *without ltt-usertrace-0.6.tar.gz* > ** > *But, use lttv-gui, show there unknow_process in process tag, and show > MODULE_UNKNOW in mode_types* > ** > * what's wrong of that ? * > ** > *is there any option which needed to choose in menuconfig ?* > ** > *or anyother i need to do ?* > ** > * > Thanks, Advance > > And thank you for your kind > > Regards, > > Gavin > * > ** > > > 2010-05-26 > ------------------------------ > Happy everyday ! > ------------------------------ > *????* srikanth krishnakar > *?????* 2010-05-25 20:33:36 > *????* unbutun > *???* ltt-dev > *???* Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who > couldtellmehow can i use LTTng ( i just need an example without Linux > TraceToolkitNextGeneration Manual) > Gavin, > > Please make sure you have run the following command's in sequence : > > Before proceeding, run the following script: > > -------------------------------------------------------------- > #!/bin/bash > mkdir /mnt/debugfs > echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab > echo "debugfs Mounted" > echo ltt-filter >> /etc/modules > echo ltt-statedump >> /etc/modules > echo ltt-kprobes >> /etc/modules > echo ltt-marker-control >> /etc/modules > echo ltt-serialize >> /etc/modules > echo ltt-trace-control >> /etc/modules > echo ltt-userspace-event >> /etc/modules > > #probes > echo block-trace >> /etc/modules > echo fs-trace >> /etc/modules > echo ipc-trace >> /etc/modules > echo kernel-trace >> /etc/modules > echo lockdep-trace >> /etc/modules > echo mm-trace >> /etc/modules > echo net-extended-trace >> /etc/modules > echo net-trace >> /etc/modules > echo pm-trace >> /etc/modules > echo rcu-trace >> /etc/modules > echo syscall-trace >> /etc/modules > echo trap-trace >> /etc/modules > -------------------------------------------------------------- > > *Now Reboot the target, and proceed with the below steps !! You should be > now able to get the trace output. * > > 1.* ltt-armall* > > (The above is required to connect all the marker's, else you'll end up with > Zero sized trace file, as you have shown here) > > 2. *lttctl -C -w /tmp/trace1 trace1* > > (Now carry on with you normal process on the system, till then your trace > data will be collected, then after some time run the below command to assure > that all events are logged into the trace files) > > 3.* **lttctl -D trace1* > > 4.* **lttv -m textDump -t /tmp/trace1 > lttng-output.txt > > *If you are following the same steps, then show me the output of command > -> "*ltt-armall*" . > > -Srikanth* > * > > 2010/5/25 unbutun <unbutun at sohu.com> > >> No, Srikanth, i do everything in the >> Linux Trace ToolkitNextGeneration Manual >> >> and >> # lttctl -C -w /tmp/trace1 trace1 >> >> >> # lttctl -D trace1 >> all successful >> >> but there is nothing in /tmp/trace1/ files (these files' size is 0 ) >> >> # lttv -m textDump -t /tmp/trace1 >> >> got the error: >> >> The input data file /tmp/trace1/irq_state_0 does not contain a trace >> The input data file /tmp/trace1/module_state_0 does not contain a trace >> The input data file /tmp/trace1/syscall_state_0 does not contain a trace >> The input data file /tmp/trace1/softirq_state_0 does not contain a trace >> The input data file /tmp/trace1/metadata_0 does not contain a trace >> The input data file /tmp/trace1/swap_state_0 does not contain a trace >> >> (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile >> (process: 2272): CRITICAL: cannot open trace /tmp/trace1 >> >> /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* >> >> Do you know what's wrong of that? >> >> >> Thanks, Advance >> >> And thank you for your kind >> >> Regards, >> >> Gavin >> 2010-05-25 >> ------------------------------ >> Happy everyday ! >> ------------------------------ >> *????* srikanth krishnakar >> *?????* 2010-05-25 14:56:25 >> *????* unbutun >> *???* >> *???* Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could >> tellmehow can i use LTTng ( i just need an example without Linux Trace >> ToolkitNextGeneration Manual) >> >> >> On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: >> >>> 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 >>> >> >> >> I think you have missed the following command here, before starting the >> trace; >> >> *# ltt-armall* >> >> Then you follow with the below commands !!! >> >>> >>> 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 trace1 >>> >>> 4. To stop tracing you run: >>> >>> >>> >>> # lttctl -D trace1 >>> >>> 5. 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 <unbutun at sohu.com> 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 >>> ********************** >>> >> >> >> >> -- >> "The Good You Do, The Best You GET" >> >> Regards >> Srikanth Krishnakar >> ********************** >> > > > > -- > "The Good You Do, The Best You GET" > > Regards > Srikanth Krishnakar > ********************** > -- "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/20100526/aad47209/attachment-0003.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) 2010-05-26 12:57 ` srikanth krishnakar 2010-05-26 12:57 ` srikanth krishnakar @ 2010-05-26 12:57 ` srikanth krishnakar 2010-05-27 12:08 ` [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Gavin 2 siblings, 0 replies; 24+ messages in thread From: srikanth krishnakar @ 2010-05-26 12:57 UTC (permalink / raw) Copy your /tmp/trace1 to /root/trace1 then from LTTV-GUI add the trace directory /root/trace1 Now you should be able to see the data. -Srikant 2010/5/26 unbutun <unbutun at sohu.com> > Hi, srikanth > > I know my fault is the version of Lttng lttctl lttv > > Now, it's work, and have output of *lttv -m textDump -t /tmp/trace1* > ** > *in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz > linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz > patch-2.6.29-lttng-0.1222.tar.gz* > *without ltt-usertrace-0.6.tar.gz* > ** > *But, use lttv-gui, show there unknow_process in process tag, and show > MODULE_UNKNOW in mode_types* > ** > * what's wrong of that ? * > ** > *is there any option which needed to choose in menuconfig ?* > ** > *or anyother i need to do ?* > ** > * > Thanks, Advance > > And thank you for your kind > > Regards, > > Gavin > * > ** > > > 2010-05-26 > ------------------------------ > Happy everyday ! > ------------------------------ > *????* srikanth krishnakar > *?????* 2010-05-25 20:33:36 > *????* unbutun > *???* ltt-dev > *???* Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who > couldtellmehow can i use LTTng ( i just need an example without Linux > TraceToolkitNextGeneration Manual) > Gavin, > > Please make sure you have run the following command's in sequence : > > Before proceeding, run the following script: > > -------------------------------------------------------------- > #!/bin/bash > mkdir /mnt/debugfs > echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab > echo "debugfs Mounted" > echo ltt-filter >> /etc/modules > echo ltt-statedump >> /etc/modules > echo ltt-kprobes >> /etc/modules > echo ltt-marker-control >> /etc/modules > echo ltt-serialize >> /etc/modules > echo ltt-trace-control >> /etc/modules > echo ltt-userspace-event >> /etc/modules > > #probes > echo block-trace >> /etc/modules > echo fs-trace >> /etc/modules > echo ipc-trace >> /etc/modules > echo kernel-trace >> /etc/modules > echo lockdep-trace >> /etc/modules > echo mm-trace >> /etc/modules > echo net-extended-trace >> /etc/modules > echo net-trace >> /etc/modules > echo pm-trace >> /etc/modules > echo rcu-trace >> /etc/modules > echo syscall-trace >> /etc/modules > echo trap-trace >> /etc/modules > -------------------------------------------------------------- > > *Now Reboot the target, and proceed with the below steps !! You should be > now able to get the trace output. * > > 1.* ltt-armall* > > (The above is required to connect all the marker's, else you'll end up with > Zero sized trace file, as you have shown here) > > 2. *lttctl -C -w /tmp/trace1 trace1* > > (Now carry on with you normal process on the system, till then your trace > data will be collected, then after some time run the below command to assure > that all events are logged into the trace files) > > 3.* **lttctl -D trace1* > > 4.* **lttv -m textDump -t /tmp/trace1 > lttng-output.txt > > *If you are following the same steps, then show me the output of command > -> "*ltt-armall*" . > > -Srikanth* > * > > 2010/5/25 unbutun <unbutun at sohu.com> > >> No, Srikanth, i do everything in the >> Linux Trace ToolkitNextGeneration Manual >> >> and >> # lttctl -C -w /tmp/trace1 trace1 >> >> >> # lttctl -D trace1 >> all successful >> >> but there is nothing in /tmp/trace1/ files (these files' size is 0 ) >> >> # lttv -m textDump -t /tmp/trace1 >> >> got the error: >> >> The input data file /tmp/trace1/irq_state_0 does not contain a trace >> The input data file /tmp/trace1/module_state_0 does not contain a trace >> The input data file /tmp/trace1/syscall_state_0 does not contain a trace >> The input data file /tmp/trace1/softirq_state_0 does not contain a trace >> The input data file /tmp/trace1/metadata_0 does not contain a trace >> The input data file /tmp/trace1/swap_state_0 does not contain a trace >> >> (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile >> (process: 2272): CRITICAL: cannot open trace /tmp/trace1 >> >> /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* >> >> Do you know what's wrong of that? >> >> >> Thanks, Advance >> >> And thank you for your kind >> >> Regards, >> >> Gavin >> 2010-05-25 >> ------------------------------ >> Happy everyday ! >> ------------------------------ >> *????* srikanth krishnakar >> *?????* 2010-05-25 14:56:25 >> *????* unbutun >> *???* >> *???* Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could >> tellmehow can i use LTTng ( i just need an example without Linux Trace >> ToolkitNextGeneration Manual) >> >> >> On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: >> >>> 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 >>> >> >> >> I think you have missed the following command here, before starting the >> trace; >> >> *# ltt-armall* >> >> Then you follow with the below commands !!! >> >>> >>> 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 trace1 >>> >>> 4. To stop tracing you run: >>> >>> >>> >>> # lttctl -D trace1 >>> >>> 5. 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 <unbutun at sohu.com> 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 >>> ********************** >>> >> >> >> >> -- >> "The Good You Do, The Best You GET" >> >> Regards >> Srikanth Krishnakar >> ********************** >> > > > > -- > "The Good You Do, The Best You GET" > > Regards > Srikanth Krishnakar > ********************** > -- "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/20100526/aad47209/attachment-0002.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) 2010-05-26 12:57 ` srikanth krishnakar 2010-05-26 12:57 ` srikanth krishnakar 2010-05-26 12:57 ` srikanth krishnakar @ 2010-05-27 12:08 ` Gavin 2010-05-27 12:08 ` Gavin 2010-05-27 12:08 ` Gavin 2 siblings, 2 replies; 24+ messages in thread From: Gavin @ 2010-05-27 12:08 UTC (permalink / raw) Hi, srikanth It works, Thank you for your kind help Good luck! Regards, Gavin 2010-05-27 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-26 20:58:37 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Copy your /tmp/trace1 to /root/trace1 then from LTTV-GUI add the trace directory /root/trace1 Now you should be able to see the data. -Srikant 2010/5/26 unbutun <unbutun at sohu.com> Hi, srikanth I know my fault is the version of Lttng lttctl lttv Now, it's work, and have output of lttv -m textDump -t /tmp/trace1 in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz patch-2.6.29-lttng-0.1222.tar.gz without ltt-usertrace-0.6.tar.gz But, use lttv-gui, show there unknow_process in process tag, and show MODULE_UNKNOW in mode_types what's wrong of that ? is there any option which needed to choose in menuconfig ? or anyother i need to do ? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-26 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 20:33:36 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. 1. ltt-armall (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. lttctl -C -w /tmp/trace1 trace1 (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3. lttctl -D trace1 4. lttv -m textDump -t /tmp/trace1 > lttng-output.txt If you are following the same steps, then show me the output of command -> "ltt-armall" . -Srikanth 2010/5/25 unbutun <unbutun at sohu.com> No, Srikanth, i do everything in the Linux Trace ToolkitNextGeneration Manual and # lttctl -C -w /tmp/trace1 trace1 # lttctl -D trace1 all successful but there is nothing in /tmp/trace1/ files (these files' size is 0 ) # lttv -m textDump -t /tmp/trace1 got the error: The input data file /tmp/trace1/irq_state_0 does not contain a trace The input data file /tmp/trace1/module_state_0 does not contain a trace The input data file /tmp/trace1/syscall_state_0 does not contain a trace The input data file /tmp/trace1/softirq_state_0 does not contain a trace The input data file /tmp/trace1/metadata_0 does not contain a trace The input data file /tmp/trace1/swap_state_0 does not contain a trace (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile (process: 2272): CRITICAL: cannot open trace /tmp/trace1 /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* Do you know what's wrong of that? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-25 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 14:56:25 ???? unbutun ??? ??? Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: 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 I think you have missed the following command here, before starting the trace; # ltt-armall Then you follow with the below commands !!! 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 <unbutun at sohu.com> 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 ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "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/20100527/4a04c4eb/attachment-0002.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) 2010-05-27 12:08 ` [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Gavin @ 2010-05-27 12:08 ` Gavin 2010-05-27 12:08 ` Gavin 1 sibling, 0 replies; 24+ messages in thread From: Gavin @ 2010-05-27 12:08 UTC (permalink / raw) Hi, srikanth It works, Thank you for your kind help Good luck! Regards, Gavin 2010-05-27 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-26 20:58:37 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Copy your /tmp/trace1 to /root/trace1 then from LTTV-GUI add the trace directory /root/trace1 Now you should be able to see the data. -Srikant 2010/5/26 unbutun <unbutun at sohu.com> Hi, srikanth I know my fault is the version of Lttng lttctl lttv Now, it's work, and have output of lttv -m textDump -t /tmp/trace1 in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz patch-2.6.29-lttng-0.1222.tar.gz without ltt-usertrace-0.6.tar.gz But, use lttv-gui, show there unknow_process in process tag, and show MODULE_UNKNOW in mode_types what's wrong of that ? is there any option which needed to choose in menuconfig ? or anyother i need to do ? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-26 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 20:33:36 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. 1. ltt-armall (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. lttctl -C -w /tmp/trace1 trace1 (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3. lttctl -D trace1 4. lttv -m textDump -t /tmp/trace1 > lttng-output.txt If you are following the same steps, then show me the output of command -> "ltt-armall" . -Srikanth 2010/5/25 unbutun <unbutun at sohu.com> No, Srikanth, i do everything in the Linux Trace ToolkitNextGeneration Manual and # lttctl -C -w /tmp/trace1 trace1 # lttctl -D trace1 all successful but there is nothing in /tmp/trace1/ files (these files' size is 0 ) # lttv -m textDump -t /tmp/trace1 got the error: The input data file /tmp/trace1/irq_state_0 does not contain a trace The input data file /tmp/trace1/module_state_0 does not contain a trace The input data file /tmp/trace1/syscall_state_0 does not contain a trace The input data file /tmp/trace1/softirq_state_0 does not contain a trace The input data file /tmp/trace1/metadata_0 does not contain a trace The input data file /tmp/trace1/swap_state_0 does not contain a trace (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile (process: 2272): CRITICAL: cannot open trace /tmp/trace1 /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* Do you know what's wrong of that? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-25 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 14:56:25 ???? unbutun ??? ??? Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: 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 I think you have missed the following command here, before starting the trace; # ltt-armall Then you follow with the below commands !!! 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 <unbutun at sohu.com> 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 ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "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/ltt-dev/attachments/20100527/4a04c4eb/attachment-0001.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
* [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) 2010-05-27 12:08 ` [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Gavin 2010-05-27 12:08 ` Gavin @ 2010-05-27 12:08 ` Gavin 1 sibling, 0 replies; 24+ messages in thread From: Gavin @ 2010-05-27 12:08 UTC (permalink / raw) Hi, srikanth It works, Thank you for your kind help Good luck! Regards, Gavin 2010-05-27 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-26 20:58:37 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Copy your /tmp/trace1 to /root/trace1 then from LTTV-GUI add the trace directory /root/trace1 Now you should be able to see the data. -Srikant 2010/5/26 unbutun <unbutun at sohu.com> Hi, srikanth I know my fault is the version of Lttng lttctl lttv Now, it's work, and have output of lttv -m textDump -t /tmp/trace1 in my enviorment, there is only ltt-control- 0.68-19062009.tar.gz linux-2.6.29.tar.gz lttv-0.12.12-05032009.tar.gz patch-2.6.29-lttng-0.1222.tar.gz without ltt-usertrace-0.6.tar.gz But, use lttv-gui, show there unknow_process in process tag, and show MODULE_UNKNOW in mode_types what's wrong of that ? is there any option which needed to choose in menuconfig ? or anyother i need to do ? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-26 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 20:33:36 ???? unbutun ??? ltt-dev ??? Re: Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) Gavin, Please make sure you have run the following command's in sequence : Before proceeding, run the following script: -------------------------------------------------------------- #!/bin/bash mkdir /mnt/debugfs echo "debugfs /mnt/debugfs debugfs defaults 0 0" >> /etc/fstab echo "debugfs Mounted" echo ltt-filter >> /etc/modules echo ltt-statedump >> /etc/modules echo ltt-kprobes >> /etc/modules echo ltt-marker-control >> /etc/modules echo ltt-serialize >> /etc/modules echo ltt-trace-control >> /etc/modules echo ltt-userspace-event >> /etc/modules #probes echo block-trace >> /etc/modules echo fs-trace >> /etc/modules echo ipc-trace >> /etc/modules echo kernel-trace >> /etc/modules echo lockdep-trace >> /etc/modules echo mm-trace >> /etc/modules echo net-extended-trace >> /etc/modules echo net-trace >> /etc/modules echo pm-trace >> /etc/modules echo rcu-trace >> /etc/modules echo syscall-trace >> /etc/modules echo trap-trace >> /etc/modules -------------------------------------------------------------- Now Reboot the target, and proceed with the below steps !! You should be now able to get the trace output. 1. ltt-armall (The above is required to connect all the marker's, else you'll end up with Zero sized trace file, as you have shown here) 2. lttctl -C -w /tmp/trace1 trace1 (Now carry on with you normal process on the system, till then your trace data will be collected, then after some time run the below command to assure that all events are logged into the trace files) 3. lttctl -D trace1 4. lttv -m textDump -t /tmp/trace1 > lttng-output.txt If you are following the same steps, then show me the output of command -> "ltt-armall" . -Srikanth 2010/5/25 unbutun <unbutun at sohu.com> No, Srikanth, i do everything in the Linux Trace ToolkitNextGeneration Manual and # lttctl -C -w /tmp/trace1 trace1 # lttctl -D trace1 all successful but there is nothing in /tmp/trace1/ files (these files' size is 0 ) # lttv -m textDump -t /tmp/trace1 got the error: The input data file /tmp/trace1/irq_state_0 does not contain a trace The input data file /tmp/trace1/module_state_0 does not contain a trace The input data file /tmp/trace1/syscall_state_0 does not contain a trace The input data file /tmp/trace1/softirq_state_0 does not contain a trace The input data file /tmp/trace1/metadata_0 does not contain a trace The input data file /tmp/trace1/swap_state_0 does not contain a trace (process: 2272): WARNING: Trace /tmp/trace1/ has no metadata tracefile (process: 2272): CRITICAL: cannot open trace /tmp/trace1 /usr/bin/lttv: line 15: 2270 Segmentation fault $0.real $* Do you know what's wrong of that? Thanks, Advance And thank you for your kind Regards, Gavin 2010-05-25 Happy everyday ! ???? srikanth krishnakar ????? 2010-05-25 14:56:25 ???? unbutun ??? ??? Re: Re: [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) On Tue, May 25, 2010 at 3:40 AM, unbutun <unbutun at sohu.com> wrote: 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 I think you have missed the following command here, before starting the trace; # ltt-armall Then you follow with the below commands !!! 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 <unbutun at sohu.com> 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 ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "The Good You Do, The Best You GET" Regards Srikanth Krishnakar ********************** -- "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/20100527/4a04c4eb/attachment-0003.htm> ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2010-05-27 12:08 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-24 12:14 [ltt-dev] Hi, everybody. i am a newbie here! who could tell me how can i use LTTng ( i just need an example without Linux Trace Toolkit Next Generation Manual) unbutun
2010-05-24 12:14 ` unbutun
2010-05-24 12:14 ` unbutun
2010-05-24 13:39 ` srikanth krishnakar
2010-05-24 13:39 ` srikanth krishnakar
2010-05-24 13:39 ` srikanth krishnakar
2010-05-24 22:10 ` [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) unbutun
2010-05-24 22:10 ` unbutun
2010-05-24 22:10 ` unbutun
2010-05-25 6:57 ` srikanth krishnakar
2010-05-25 6:57 ` srikanth krishnakar
2010-05-25 6:57 ` srikanth krishnakar
[not found] ` <201005252006418592440@sohu.com>
2010-05-25 12:33 ` [ltt-dev] Hi, everybody. i am a newbie here! who could tellmehow can i use LTTng ( i just need an example without Linux Trace ToolkitNextGeneration Manual) srikanth krishnakar
2010-05-25 12:33 ` srikanth krishnakar
2010-05-25 12:33 ` srikanth krishnakar
2010-05-26 11:54 ` [ltt-dev] Hi, everybody. i am a newbie here! who couldtellmehow can i use LTTng ( i just need an example without Linux TraceToolkitNextGeneration Manual) unbutun
2010-05-26 11:54 ` unbutun
2010-05-26 11:54 ` unbutun
2010-05-26 12:57 ` srikanth krishnakar
2010-05-26 12:57 ` srikanth krishnakar
2010-05-26 12:57 ` srikanth krishnakar
2010-05-27 12:08 ` [ltt-dev] Hi, everybody. i am a newbie here! whocouldtellmehow can i use LTTng ( i just need an example without LinuxTraceToolkitNextGeneration Manual) Gavin
2010-05-27 12:08 ` Gavin
2010-05-27 12:08 ` Gavin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox