[ltt-dev] [URGENT]Re: Flight Recorder Testing on Linux-2.6.32

srikanth krishnakar skrishnakar at gmail.com
Wed May 26 03:00:27 EDT 2010


Hello Mathieu,

In the analysis of COREDUMP using *FLIGHT_RECORDER*, what are the steps I do
need to follow for tracing, because If i follow the steps :

1. Connect all markers (ltt-armall)

2. Start tracing (lttctl -Cw /tmp/trace1 trace1)

*Till here every thing is fine... w.r.t  trace methods involved. Now say If
here I get KERNEL_PANIC, then what about my trace data that is still pending
and needs to be written to files.*
*I mean till I destroy the channels I will not get the trace data !! *

How do I resolve this situation !!! where kernel panics and no trace data
available for user ?

Any input are appreciated !!

Thanks,
Srikant


On Mon, May 24, 2010 at 6:59 PM, srikanth krishnakar
<skrishnakar at gmail.com>wrote:

> Hi Mathieu,
>
> I am trying to run through the LTTng Flight Recorder test on kernel
> Linux-2.6.32.13.  Here are the steps I have followed :
>
>
> 1. Compiled the kernel Linux-2.6.32 + Lttng support
>
> 2. Booted the Lttng kernel
>
> 3. Loaded all the necessary modules, followed by :
>
> 4. Ran "ltt-armall"
>
> 5. Then started the tracing in flight recorder mode as:
>
> #  lttctl -C -w /tmp/trace3 -o channel.all.overwrite=1 trace3
>
> 6. Then destroyed the channels, for write process to take place:
>
> # lttctl -D trace3
>
>
> Correct me If i am going wrong in any of the above steps, that are
> necessary for flight recorder testing.
>
> What is the difference do I find in normal LTTng tracing and the Flight
> Recorder mode ? What difference does the LTTV-GUI shows for LTTng Flight
> recorder mode ?
> (Is LKCD any way related to core dump tracing in Flight Recorder mode ?)
>
> Are there any additional steps required for carrying out the tracing in
> Flight recorder mode for CORE DUMP tracing.
>
> All the steps i have followed are from :
> http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#flight
>
> Any pointers would be appreciated !!
>
> Thanks in Advance !
>
> 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/1ae4a26f/attachment-0003.htm>


More information about the lttng-dev mailing list