From: skrishnakar@gmail.com (srikanth krishnakar)
Subject: [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)
Date: Tue, 25 May 2010 12:27:42 +0530 [thread overview]
Message-ID: <AANLkTikBNr0eGsYv84deRaPTRkhgnS-T49NQEujEcBFw@mail.gmail.com> (raw)
Message-ID: <20100525065742.xFtZxpBneT5Fr9UcBy4wPGU3tW9FylqNmxO6JoIg-co@z> (raw)
In-Reply-To: <201005250610002509596@sohu.com>
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>
next prev parent reply other threads:[~2010-05-25 6:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikBNr0eGsYv84deRaPTRkhgnS-T49NQEujEcBFw@mail.gmail.com \
--to=skrishnakar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox