* [ltt-dev] Problems with LTTV GUI
@ 2010-05-18 6:46 Gianluca Valentino
2010-05-18 6:46 ` Gianluca Valentino
` (2 more replies)
0 siblings, 3 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 6:46 UTC (permalink / raw)
Dear all,
I managed to solve the problem I had with su in a previous post (I'm sorry but I couldn't find out how to answer to my previous post so I decided to create a new one) by starting the lttv-gui with sudo.
I could then start and stop the trace. However, on pressing yes to open the trace, I got "Cannot open trace: maybe you should enter in the directory to select it?".
I did enter the directory where I had saved the trace, but I found a number of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could open to view the trace graphically.
I am clueless as to what to do next.. I'd appreciate a reply.
Thanks,
Gianluca Valentino
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/c19d7646/attachment-0002.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread* [ltt-dev] Problems with LTTV GUI
2010-05-18 6:46 [ltt-dev] Problems with LTTV GUI Gianluca Valentino
@ 2010-05-18 6:46 ` Gianluca Valentino
2010-05-18 6:46 ` Gianluca Valentino
2010-05-18 11:43 ` jerome zh
2 siblings, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 6:46 UTC (permalink / raw)
Dear all,
I managed to solve the problem I had with su in a previous post (I'm sorry but I couldn't find out how to answer to my previous post so I decided to create a new one) by starting the lttv-gui with sudo.
I could then start and stop the trace. However, on pressing yes to open the trace, I got "Cannot open trace: maybe you should enter in the directory to select it?".
I did enter the directory where I had saved the trace, but I found a number of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could open to view the trace graphically.
I am clueless as to what to do next.. I'd appreciate a reply.
Thanks,
Gianluca Valentino
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/c19d7646/attachment-0003.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 6:46 [ltt-dev] Problems with LTTV GUI Gianluca Valentino
2010-05-18 6:46 ` Gianluca Valentino
@ 2010-05-18 6:46 ` Gianluca Valentino
2010-05-18 11:43 ` jerome zh
2 siblings, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 6:46 UTC (permalink / raw)
Dear all,
I managed to solve the problem I had with su in a previous post (I'm sorry but I couldn't find out how to answer to my previous post so I decided to create a new one) by starting the lttv-gui with sudo.
I could then start and stop the trace. However, on pressing yes to open the trace, I got "Cannot open trace: maybe you should enter in the directory to select it?".
I did enter the directory where I had saved the trace, but I found a number of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could open to view the trace graphically.
I am clueless as to what to do next.. I'd appreciate a reply.
Thanks,
Gianluca Valentino
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100518/c19d7646/attachment.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 6:46 [ltt-dev] Problems with LTTV GUI Gianluca Valentino
2010-05-18 6:46 ` Gianluca Valentino
2010-05-18 6:46 ` Gianluca Valentino
@ 2010-05-18 11:43 ` jerome zh
2010-05-18 11:43 ` jerome zh
` (2 more replies)
2 siblings, 3 replies; 19+ messages in thread
From: jerome zh @ 2010-05-18 11:43 UTC (permalink / raw)
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
> Dear all,
>
> I managed to solve the problem I had with su in a previous post (I'm sorry
> but I couldn't find out how to answer to my previous post so I decided to
> create a new one) by starting the lttv-gui with sudo.
>
> I could then start and stop the trace. However, on pressing yes to open the
> trace, I got "Cannot open trace: maybe you should enter in the directory to
> select it?".
> I did enter the directory where I had saved the trace, but I found a number
> of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could
> open to view the trace graphically.
>
> I am clueless as to what to do next.. I'd appreciate a reply.
>
> Thanks,
>
> Gianluca Valentino
>
Were these files zero sized?
--
Regards,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/ac64eb04/attachment-0003.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread* [ltt-dev] Problems with LTTV GUI
2010-05-18 11:43 ` jerome zh
@ 2010-05-18 11:43 ` jerome zh
2010-05-18 11:43 ` jerome zh
2010-05-18 13:19 ` Gianluca Valentino
2 siblings, 0 replies; 19+ messages in thread
From: jerome zh @ 2010-05-18 11:43 UTC (permalink / raw)
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
> Dear all,
>
> I managed to solve the problem I had with su in a previous post (I'm sorry
> but I couldn't find out how to answer to my previous post so I decided to
> create a new one) by starting the lttv-gui with sudo.
>
> I could then start and stop the trace. However, on pressing yes to open the
> trace, I got "Cannot open trace: maybe you should enter in the directory to
> select it?".
> I did enter the directory where I had saved the trace, but I found a number
> of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could
> open to view the trace graphically.
>
> I am clueless as to what to do next.. I'd appreciate a reply.
>
> Thanks,
>
> Gianluca Valentino
>
Were these files zero sized?
--
Regards,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/ac64eb04/attachment-0002.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 11:43 ` jerome zh
2010-05-18 11:43 ` jerome zh
@ 2010-05-18 11:43 ` jerome zh
2010-05-18 13:19 ` Gianluca Valentino
2 siblings, 0 replies; 19+ messages in thread
From: jerome zh @ 2010-05-18 11:43 UTC (permalink / raw)
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
> Dear all,
>
> I managed to solve the problem I had with su in a previous post (I'm sorry
> but I couldn't find out how to answer to my previous post so I decided to
> create a new one) by starting the lttv-gui with sudo.
>
> I could then start and stop the trace. However, on pressing yes to open the
> trace, I got "Cannot open trace: maybe you should enter in the directory to
> select it?".
> I did enter the directory where I had saved the trace, but I found a number
> of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could
> open to view the trace graphically.
>
> I am clueless as to what to do next.. I'd appreciate a reply.
>
> Thanks,
>
> Gianluca Valentino
>
Were these files zero sized?
--
Regards,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100518/ac64eb04/attachment.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 11:43 ` jerome zh
2010-05-18 11:43 ` jerome zh
2010-05-18 11:43 ` jerome zh
@ 2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:19 ` Gianluca Valentino
` (2 more replies)
2 siblings, 3 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 13:19 UTC (permalink / raw)
From: g_v_valentino@hotmail.com
To: jeromezhr at gmail.com
Subject: RE: [ltt-dev] Problems with LTTV GUI
Date: Tue, 18 May 2010 15:18:16 +0200
Dear Jerome,
Thanks for your reply. Yes they are all zero-sized..
Regards,
Gianluca
Date: Tue, 18 May 2010 19:43:56 +0800
Subject: Re: [ltt-dev] Problems with LTTV GUI
From: jeromezhr@gmail.com
To: g_v_valentino at hotmail.com
CC: ltt-dev at lists.casi.polymtl.ca
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
Dear all,
I managed to solve the problem I had with su in a previous post (I'm sorry but I couldn't find out how to answer to my previous post so I decided to create a new one) by starting the lttv-gui with sudo.
I could then start and stop the trace. However, on pressing yes to open the trace, I got "Cannot open trace: maybe you should enter in the directory to select it?".
I did enter the directory where I had saved the trace, but I found a number of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could open to view the trace graphically.
I am clueless as to what to do next.. I'd appreciate a reply.
Thanks,
Gianluca Valentino
Were these files zero sized?
--
Regards,
Jerome
Hotmail: Trusted email with Microsoft?s powerful SPAM protection. Sign up now.
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/2668cec7/attachment-0002.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread* [ltt-dev] Problems with LTTV GUI
2010-05-18 13:19 ` Gianluca Valentino
@ 2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:27 ` jerome zh
2 siblings, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 13:19 UTC (permalink / raw)
From: g_v_valentino@hotmail.com
To: jeromezhr at gmail.com
Subject: RE: [ltt-dev] Problems with LTTV GUI
Date: Tue, 18 May 2010 15:18:16 +0200
Dear Jerome,
Thanks for your reply. Yes they are all zero-sized..
Regards,
Gianluca
Date: Tue, 18 May 2010 19:43:56 +0800
Subject: Re: [ltt-dev] Problems with LTTV GUI
From: jeromezhr@gmail.com
To: g_v_valentino at hotmail.com
CC: ltt-dev at lists.casi.polymtl.ca
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
Dear all,
I managed to solve the problem I had with su in a previous post (I'm sorry but I couldn't find out how to answer to my previous post so I decided to create a new one) by starting the lttv-gui with sudo.
I could then start and stop the trace. However, on pressing yes to open the trace, I got "Cannot open trace: maybe you should enter in the directory to select it?".
I did enter the directory where I had saved the trace, but I found a number of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could open to view the trace graphically.
I am clueless as to what to do next.. I'd appreciate a reply.
Thanks,
Gianluca Valentino
Were these files zero sized?
--
Regards,
Jerome
Hotmail: Trusted email with Microsoft?s powerful SPAM protection. Sign up now.
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100518/2668cec7/attachment.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:19 ` Gianluca Valentino
@ 2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:27 ` jerome zh
2 siblings, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 13:19 UTC (permalink / raw)
From: g_v_valentino@hotmail.com
To: jeromezhr at gmail.com
Subject: RE: [ltt-dev] Problems with LTTV GUI
Date: Tue, 18 May 2010 15:18:16 +0200
Dear Jerome,
Thanks for your reply. Yes they are all zero-sized..
Regards,
Gianluca
Date: Tue, 18 May 2010 19:43:56 +0800
Subject: Re: [ltt-dev] Problems with LTTV GUI
From: jeromezhr@gmail.com
To: g_v_valentino at hotmail.com
CC: ltt-dev at lists.casi.polymtl.ca
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
Dear all,
I managed to solve the problem I had with su in a previous post (I'm sorry but I couldn't find out how to answer to my previous post so I decided to create a new one) by starting the lttv-gui with sudo.
I could then start and stop the trace. However, on pressing yes to open the trace, I got "Cannot open trace: maybe you should enter in the directory to select it?".
I did enter the directory where I had saved the trace, but I found a number of files such as ext4_0, ipc_0, kernel_0, vm_state_0, none of which I could open to view the trace graphically.
I am clueless as to what to do next.. I'd appreciate a reply.
Thanks,
Gianluca Valentino
Were these files zero sized?
--
Regards,
Jerome
Hotmail: Trusted email with Microsoft?s powerful SPAM protection. Sign up now.
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/2668cec7/attachment-0003.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:19 ` Gianluca Valentino
@ 2010-05-18 13:27 ` jerome zh
2010-05-18 13:27 ` jerome zh
` (2 more replies)
2 siblings, 3 replies; 19+ messages in thread
From: jerome zh @ 2010-05-18 13:27 UTC (permalink / raw)
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
>
>
> ------------------------------
> From: g_v_valentino@hotmail.com
> To: jeromezhr at gmail.com
> Subject: RE: [ltt-dev] Problems with LTTV GUI
> Date: Tue, 18 May 2010 15:18:16 +0200
>
>
> Dear Jerome,
>
> Thanks for your reply. Yes they are all zero-sized..
>
> Regards,
>
> Gianluca
>
> ------------------------------
>
> So I think there must be some problems in traceing.
Have you destroyed your trace correctly?
--
Regards,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/a6d4d622/attachment-0003.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread* [ltt-dev] Problems with LTTV GUI
2010-05-18 13:27 ` jerome zh
@ 2010-05-18 13:27 ` jerome zh
2010-05-18 13:27 ` jerome zh
2010-05-18 14:52 ` Gianluca Valentino
2 siblings, 0 replies; 19+ messages in thread
From: jerome zh @ 2010-05-18 13:27 UTC (permalink / raw)
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
>
>
> ------------------------------
> From: g_v_valentino@hotmail.com
> To: jeromezhr at gmail.com
> Subject: RE: [ltt-dev] Problems with LTTV GUI
> Date: Tue, 18 May 2010 15:18:16 +0200
>
>
> Dear Jerome,
>
> Thanks for your reply. Yes they are all zero-sized..
>
> Regards,
>
> Gianluca
>
> ------------------------------
>
> So I think there must be some problems in traceing.
Have you destroyed your trace correctly?
--
Regards,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100518/a6d4d622/attachment.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 13:27 ` jerome zh
2010-05-18 13:27 ` jerome zh
@ 2010-05-18 13:27 ` jerome zh
2010-05-18 14:52 ` Gianluca Valentino
2 siblings, 0 replies; 19+ messages in thread
From: jerome zh @ 2010-05-18 13:27 UTC (permalink / raw)
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
>
>
> ------------------------------
> From: g_v_valentino@hotmail.com
> To: jeromezhr at gmail.com
> Subject: RE: [ltt-dev] Problems with LTTV GUI
> Date: Tue, 18 May 2010 15:18:16 +0200
>
>
> Dear Jerome,
>
> Thanks for your reply. Yes they are all zero-sized..
>
> Regards,
>
> Gianluca
>
> ------------------------------
>
> So I think there must be some problems in traceing.
Have you destroyed your trace correctly?
--
Regards,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/a6d4d622/attachment-0002.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 13:27 ` jerome zh
2010-05-18 13:27 ` jerome zh
2010-05-18 13:27 ` jerome zh
@ 2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 14:52 ` Gianluca Valentino
` (2 more replies)
2 siblings, 3 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 14:52 UTC (permalink / raw)
Dear Jerome,
I think I have destroyed it correctly, at least that's what it says when I run it in text-mode (see no. 8 below).. I will explain each step that I have done after booting with the LTTng patched kernel below:
1. Edit system-wide configuration (as explained in the guide: http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#section2)
mkdir /mnt/debugfs
cp /etc/fstab /etc/fstab.lttng.bkp
echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab
2. Insert the specific modules (every time I boot)
modprobe kernel-trace
modprobe mm-trace
modprobe net-trace
modprobe fs-trace
modprobe jbd2-trace
modprobe ext4-trace
modprobe syscall-trace
modprobe trap-trace
modprobe ltt-statedump
I couldn't do
modprobe ltt-trace-control
modprobe ltt-marker-control
modprobe ltt-tracer
modprobe ltt-serialize
modprobe ltt-relay
However these should be in-built as they appear as .o and .c files in /lib/modules/2.6.31.5-custom/build/ltt
3. I installed the ltt-control and lttv packages as explained in the guide above
4. echo text > sudo tee -a /mnt/debugfs/ltt/write_event does not give me any error
5. I execute sudo ltt-armall, and sudo lttv-gui
6. I click on the 'traffic light' icon and I enter the root password. I click on start and then stop. LTTng Trace Control asks me if I want to open the trace in LTTV. I click yes, and it tells me "Cannot open trace: maybe you should enter in the directory to select it". Checking the sizes of the files in /tmp/trace1 (as you asked me) are all zero-sized.
7. With the CLI version of lttv: I execute sudo lttctl -C -w /tmp/trace1 trace1. It gives me:
Linux Trace Toolkit Trace Control 0.84-07042010
Controlling trace : trace1
lttctl: Creating trace
lttctl: Forking lttd
Linux Trace Toolkit Trace Daemon 0.84-07042010
Reading from debugfs directory : /sys/kernel/debug/ltt/trace1
Writing to trace directory : /tmp/trace1
lttctl: Starting trace
ubuntu at beagleboard:~$
8. Then I execute sudo lttctl -D trace1 to destroy trace. It gives me:
Linux Trace Toolkit Trace Control 0.84-07042010
Controlling trace : trace1
lttctl: Pausing trace
lttctl: Destroying trace
ubuntu at beagleboard:~$
9. The only error I encountered was when I tried lttv -m textDump -t /tmp/trace1 for a simple trace dump in text format.
After a series of long lines like:
The input data file /tmp/trace1/net_0 does not contain a trace
it told me WARNING **: Trace /tmp/trace1 has no metadata tracefile
and CRITICAL **: cannot open trace /tmp/trace1
and finally: /usr/local/bin/lttv: line 15: 2152 Segmentation fault $0.real $*
Date: Tue, 18 May 2010 21:27:20 +0800
Subject: Re: [ltt-dev] Problems with LTTV GUI
From: jeromezhr@gmail.com
To: g_v_valentino at hotmail.com
CC: ltt-dev at lists.casi.polymtl.ca
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
From: g_v_valentino@hotmail.com
To: jeromezhr at gmail.com
Subject: RE: [ltt-dev] Problems with LTTV GUI
Date: Tue, 18 May 2010 15:18:16 +0200
Dear Jerome,
Thanks for your reply. Yes they are all zero-sized..
Regards,
Gianluca
So I think there must be some problems in traceing.
Have you destroyed your trace correctly?
--
Regards,
Jerome
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100518/f51d54c2/attachment-0001.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread* [ltt-dev] Problems with LTTV GUI
2010-05-18 14:52 ` Gianluca Valentino
@ 2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 15:02 ` Mathieu Desnoyers
2 siblings, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 14:52 UTC (permalink / raw)
Dear Jerome,
I think I have destroyed it correctly, at least that's what it says when I run it in text-mode (see no. 8 below).. I will explain each step that I have done after booting with the LTTng patched kernel below:
1. Edit system-wide configuration (as explained in the guide: http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#section2)
mkdir /mnt/debugfs
cp /etc/fstab /etc/fstab.lttng.bkp
echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab
2. Insert the specific modules (every time I boot)
modprobe kernel-trace
modprobe mm-trace
modprobe net-trace
modprobe fs-trace
modprobe jbd2-trace
modprobe ext4-trace
modprobe syscall-trace
modprobe trap-trace
modprobe ltt-statedump
I couldn't do
modprobe ltt-trace-control
modprobe ltt-marker-control
modprobe ltt-tracer
modprobe ltt-serialize
modprobe ltt-relay
However these should be in-built as they appear as .o and .c files in /lib/modules/2.6.31.5-custom/build/ltt
3. I installed the ltt-control and lttv packages as explained in the guide above
4. echo text > sudo tee -a /mnt/debugfs/ltt/write_event does not give me any error
5. I execute sudo ltt-armall, and sudo lttv-gui
6. I click on the 'traffic light' icon and I enter the root password. I click on start and then stop. LTTng Trace Control asks me if I want to open the trace in LTTV. I click yes, and it tells me "Cannot open trace: maybe you should enter in the directory to select it". Checking the sizes of the files in /tmp/trace1 (as you asked me) are all zero-sized.
7. With the CLI version of lttv: I execute sudo lttctl -C -w /tmp/trace1 trace1. It gives me:
Linux Trace Toolkit Trace Control 0.84-07042010
Controlling trace : trace1
lttctl: Creating trace
lttctl: Forking lttd
Linux Trace Toolkit Trace Daemon 0.84-07042010
Reading from debugfs directory : /sys/kernel/debug/ltt/trace1
Writing to trace directory : /tmp/trace1
lttctl: Starting trace
ubuntu at beagleboard:~$
8. Then I execute sudo lttctl -D trace1 to destroy trace. It gives me:
Linux Trace Toolkit Trace Control 0.84-07042010
Controlling trace : trace1
lttctl: Pausing trace
lttctl: Destroying trace
ubuntu at beagleboard:~$
9. The only error I encountered was when I tried lttv -m textDump -t /tmp/trace1 for a simple trace dump in text format.
After a series of long lines like:
The input data file /tmp/trace1/net_0 does not contain a trace
it told me WARNING **: Trace /tmp/trace1 has no metadata tracefile
and CRITICAL **: cannot open trace /tmp/trace1
and finally: /usr/local/bin/lttv: line 15: 2152 Segmentation fault $0.real $*
Date: Tue, 18 May 2010 21:27:20 +0800
Subject: Re: [ltt-dev] Problems with LTTV GUI
From: jeromezhr@gmail.com
To: g_v_valentino at hotmail.com
CC: ltt-dev at lists.casi.polymtl.ca
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
From: g_v_valentino@hotmail.com
To: jeromezhr at gmail.com
Subject: RE: [ltt-dev] Problems with LTTV GUI
Date: Tue, 18 May 2010 15:18:16 +0200
Dear Jerome,
Thanks for your reply. Yes they are all zero-sized..
Regards,
Gianluca
So I think there must be some problems in traceing.
Have you destroyed your trace correctly?
--
Regards,
Jerome
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/f51d54c2/attachment-0003.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 14:52 ` Gianluca Valentino
@ 2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 15:02 ` Mathieu Desnoyers
2 siblings, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 14:52 UTC (permalink / raw)
Dear Jerome,
I think I have destroyed it correctly, at least that's what it says when I run it in text-mode (see no. 8 below).. I will explain each step that I have done after booting with the LTTng patched kernel below:
1. Edit system-wide configuration (as explained in the guide: http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#section2)
mkdir /mnt/debugfs
cp /etc/fstab /etc/fstab.lttng.bkp
echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab
2. Insert the specific modules (every time I boot)
modprobe kernel-trace
modprobe mm-trace
modprobe net-trace
modprobe fs-trace
modprobe jbd2-trace
modprobe ext4-trace
modprobe syscall-trace
modprobe trap-trace
modprobe ltt-statedump
I couldn't do
modprobe ltt-trace-control
modprobe ltt-marker-control
modprobe ltt-tracer
modprobe ltt-serialize
modprobe ltt-relay
However these should be in-built as they appear as .o and .c files in /lib/modules/2.6.31.5-custom/build/ltt
3. I installed the ltt-control and lttv packages as explained in the guide above
4. echo text > sudo tee -a /mnt/debugfs/ltt/write_event does not give me any error
5. I execute sudo ltt-armall, and sudo lttv-gui
6. I click on the 'traffic light' icon and I enter the root password. I click on start and then stop. LTTng Trace Control asks me if I want to open the trace in LTTV. I click yes, and it tells me "Cannot open trace: maybe you should enter in the directory to select it". Checking the sizes of the files in /tmp/trace1 (as you asked me) are all zero-sized.
7. With the CLI version of lttv: I execute sudo lttctl -C -w /tmp/trace1 trace1. It gives me:
Linux Trace Toolkit Trace Control 0.84-07042010
Controlling trace : trace1
lttctl: Creating trace
lttctl: Forking lttd
Linux Trace Toolkit Trace Daemon 0.84-07042010
Reading from debugfs directory : /sys/kernel/debug/ltt/trace1
Writing to trace directory : /tmp/trace1
lttctl: Starting trace
ubuntu at beagleboard:~$
8. Then I execute sudo lttctl -D trace1 to destroy trace. It gives me:
Linux Trace Toolkit Trace Control 0.84-07042010
Controlling trace : trace1
lttctl: Pausing trace
lttctl: Destroying trace
ubuntu at beagleboard:~$
9. The only error I encountered was when I tried lttv -m textDump -t /tmp/trace1 for a simple trace dump in text format.
After a series of long lines like:
The input data file /tmp/trace1/net_0 does not contain a trace
it told me WARNING **: Trace /tmp/trace1 has no metadata tracefile
and CRITICAL **: cannot open trace /tmp/trace1
and finally: /usr/local/bin/lttv: line 15: 2152 Segmentation fault $0.real $*
Date: Tue, 18 May 2010 21:27:20 +0800
Subject: Re: [ltt-dev] Problems with LTTV GUI
From: jeromezhr@gmail.com
To: g_v_valentino at hotmail.com
CC: ltt-dev at lists.casi.polymtl.ca
2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
From: g_v_valentino@hotmail.com
To: jeromezhr at gmail.com
Subject: RE: [ltt-dev] Problems with LTTV GUI
Date: Tue, 18 May 2010 15:18:16 +0200
Dear Jerome,
Thanks for your reply. Yes they are all zero-sized..
Regards,
Gianluca
So I think there must be some problems in traceing.
Have you destroyed your trace correctly?
--
Regards,
Jerome
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/f51d54c2/attachment-0002.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI
2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 14:52 ` Gianluca Valentino
@ 2010-05-18 15:02 ` Mathieu Desnoyers
2010-05-18 16:20 ` [ltt-dev] Problems with LTTV GUI (Solved) Gianluca Valentino
2 siblings, 1 reply; 19+ messages in thread
From: Mathieu Desnoyers @ 2010-05-18 15:02 UTC (permalink / raw)
* Gianluca Valentino (g_v_valentino at hotmail.com) wrote:
>
> Dear Jerome,
>
> I think I have destroyed it correctly, at least that's what it says when I run it in text-mode (see no. 8 below).. I will explain each step that I have done after booting with the LTTng patched kernel below:
>
> 1. Edit system-wide configuration (as explained in the guide: http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#section2)
> mkdir /mnt/debugfs
> cp /etc/fstab /etc/fstab.lttng.bkp
> echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab
> 2. Insert the specific modules (every time I boot)
> modprobe kernel-trace
> modprobe mm-trace
> modprobe net-trace
> modprobe fs-trace
> modprobe jbd2-trace
> modprobe ext4-trace
> modprobe syscall-trace
> modprobe trap-trace
> modprobe ltt-statedump
>
> I couldn't do
>
> modprobe ltt-trace-control
> modprobe ltt-marker-control
> modprobe ltt-tracer
> modprobe ltt-serialize
> modprobe ltt-relay
>
> However these should be in-built as they appear as .o and .c files in /lib/modules/2.6.31.5-custom/build/ltt
Please see the Compatibility list, available from the download section
of the lttng.org website:
ltt-control 0.84 is compatible with LTTng 0.191 to 0.214, which means
kernels 2.6.32.4 to 2.6.33.4. You are using a 2.6.31.5 tree, so I wonder
which LTTng version you use.
Thanks,
Mathieu
>
> 3. I installed the ltt-control and lttv packages as explained in the guide above
>
> 4. echo text > sudo tee -a /mnt/debugfs/ltt/write_event does not give me any error
>
> 5. I execute sudo ltt-armall, and sudo lttv-gui
>
> 6. I click on the 'traffic light' icon and I enter the root password. I click on start and then stop. LTTng Trace Control asks me if I want to open the trace in LTTV. I click yes, and it tells me "Cannot open trace: maybe you should enter in the directory to select it". Checking the sizes of the files in /tmp/trace1 (as you asked me) are all zero-sized.
>
> 7. With the CLI version of lttv: I execute sudo lttctl -C -w /tmp/trace1 trace1. It gives me:
>
> Linux Trace Toolkit Trace Control 0.84-07042010
>
> Controlling trace : trace1
>
> lttctl: Creating trace
> lttctl: Forking lttd
> Linux Trace Toolkit Trace Daemon 0.84-07042010
>
> Reading from debugfs directory : /sys/kernel/debug/ltt/trace1
> Writing to trace directory : /tmp/trace1
>
> lttctl: Starting trace
> ubuntu at beagleboard:~$
>
> 8. Then I execute sudo lttctl -D trace1 to destroy trace. It gives me:
>
>
>
> Linux Trace Toolkit Trace Control 0.84-07042010
>
> Controlling trace : trace1
>
> lttctl: Pausing trace
> lttctl: Destroying trace
> ubuntu at beagleboard:~$
>
> 9. The only error I encountered was when I tried lttv -m textDump -t /tmp/trace1 for a simple trace dump in text format.
>
> After a series of long lines like:
>
> The input data file /tmp/trace1/net_0 does not contain a trace
>
> it told me WARNING **: Trace /tmp/trace1 has no metadata tracefile
>
> and CRITICAL **: cannot open trace /tmp/trace1
>
> and finally: /usr/local/bin/lttv: line 15: 2152 Segmentation fault $0.real $*
>
>
>
> Date: Tue, 18 May 2010 21:27:20 +0800
> Subject: Re: [ltt-dev] Problems with LTTV GUI
> From: jeromezhr@gmail.com
> To: g_v_valentino at hotmail.com
> CC: ltt-dev at lists.casi.polymtl.ca
>
> 2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
>
>
>
>
>
>
>
>
>
>
> From: g_v_valentino@hotmail.com
> To: jeromezhr at gmail.com
> Subject: RE: [ltt-dev] Problems with LTTV GUI
>
> Date: Tue, 18 May 2010 15:18:16 +0200
>
>
>
> Dear Jerome,
>
> Thanks for your reply. Yes they are all zero-sized..
>
> Regards,
>
> Gianluca
>
>
>
> So I think there must be some problems in traceing.
> Have you destroyed your trace correctly?
> --
> Regards,
>
> Jerome
>
> _________________________________________________________________
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> https://signup.live.com/signup.aspx?id=60969
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI (Solved)
2010-05-18 15:02 ` Mathieu Desnoyers
@ 2010-05-18 16:20 ` Gianluca Valentino
2010-05-18 16:20 ` Gianluca Valentino
2010-05-18 16:20 ` Gianluca Valentino
0 siblings, 2 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 16:20 UTC (permalink / raw)
Thank you Jerome and Mathieu,
Although I patched the kernel correctly my ltt-control and lttv packages were incompatible with the 2.6.31.5 tree. Installing compatible versions did the trick.
Regards,
Gianluca
> Date: Tue, 18 May 2010 11:02:04 -0400
> From: compudj@krystal.dyndns.org
> To: g_v_valentino at hotmail.com
> CC: jeromezhr at gmail.com; ltt-dev at lists.casi.polymtl.ca
> Subject: Re: [ltt-dev] Problems with LTTV GUI
>
> * Gianluca Valentino (g_v_valentino at hotmail.com) wrote:
> >
> > Dear Jerome,
> >
> > I think I have destroyed it correctly, at least that's what it says when I run it in text-mode (see no. 8 below).. I will explain each step that I have done after booting with the LTTng patched kernel below:
> >
> > 1. Edit system-wide configuration (as explained in the guide: http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#section2)
> > mkdir /mnt/debugfs
> > cp /etc/fstab /etc/fstab.lttng.bkp
> > echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab
> > 2. Insert the specific modules (every time I boot)
> > modprobe kernel-trace
> > modprobe mm-trace
> > modprobe net-trace
> > modprobe fs-trace
> > modprobe jbd2-trace
> > modprobe ext4-trace
> > modprobe syscall-trace
> > modprobe trap-trace
> > modprobe ltt-statedump
> >
> > I couldn't do
> >
> > modprobe ltt-trace-control
> > modprobe ltt-marker-control
> > modprobe ltt-tracer
> > modprobe ltt-serialize
> > modprobe ltt-relay
> >
> > However these should be in-built as they appear as .o and .c files in /lib/modules/2.6.31.5-custom/build/ltt
>
> Please see the Compatibility list, available from the download section
> of the lttng.org website:
>
> ltt-control 0.84 is compatible with LTTng 0.191 to 0.214, which means
> kernels 2.6.32.4 to 2.6.33.4. You are using a 2.6.31.5 tree, so I wonder
> which LTTng version you use.
>
> Thanks,
>
> Mathieu
>
> >
> > 3. I installed the ltt-control and lttv packages as explained in the guide above
> >
> > 4. echo text > sudo tee -a /mnt/debugfs/ltt/write_event does not give me any error
> >
> > 5. I execute sudo ltt-armall, and sudo lttv-gui
> >
> > 6. I click on the 'traffic light' icon and I enter the root password. I click on start and then stop. LTTng Trace Control asks me if I want to open the trace in LTTV. I click yes, and it tells me "Cannot open trace: maybe you should enter in the directory to select it". Checking the sizes of the files in /tmp/trace1 (as you asked me) are all zero-sized.
> >
> > 7. With the CLI version of lttv: I execute sudo lttctl -C -w /tmp/trace1 trace1. It gives me:
> >
> > Linux Trace Toolkit Trace Control 0.84-07042010
> >
> > Controlling trace : trace1
> >
> > lttctl: Creating trace
> > lttctl: Forking lttd
> > Linux Trace Toolkit Trace Daemon 0.84-07042010
> >
> > Reading from debugfs directory : /sys/kernel/debug/ltt/trace1
> > Writing to trace directory : /tmp/trace1
> >
> > lttctl: Starting trace
> > ubuntu at beagleboard:~$
> >
> > 8. Then I execute sudo lttctl -D trace1 to destroy trace. It gives me:
> >
> >
> >
> > Linux Trace Toolkit Trace Control 0.84-07042010
> >
> > Controlling trace : trace1
> >
> > lttctl: Pausing trace
> > lttctl: Destroying trace
> > ubuntu at beagleboard:~$
> >
> > 9. The only error I encountered was when I tried lttv -m textDump -t /tmp/trace1 for a simple trace dump in text format.
> >
> > After a series of long lines like:
> >
> > The input data file /tmp/trace1/net_0 does not contain a trace
> >
> > it told me WARNING **: Trace /tmp/trace1 has no metadata tracefile
> >
> > and CRITICAL **: cannot open trace /tmp/trace1
> >
> > and finally: /usr/local/bin/lttv: line 15: 2152 Segmentation fault $0.real $*
> >
> >
> >
> > Date: Tue, 18 May 2010 21:27:20 +0800
> > Subject: Re: [ltt-dev] Problems with LTTV GUI
> > From: jeromezhr@gmail.com
> > To: g_v_valentino at hotmail.com
> > CC: ltt-dev at lists.casi.polymtl.ca
> >
> > 2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: g_v_valentino@hotmail.com
> > To: jeromezhr at gmail.com
> > Subject: RE: [ltt-dev] Problems with LTTV GUI
> >
> > Date: Tue, 18 May 2010 15:18:16 +0200
> >
> >
> >
> > Dear Jerome,
> >
> > Thanks for your reply. Yes they are all zero-sized..
> >
> > Regards,
> >
> > Gianluca
> >
> >
> >
> > So I think there must be some problems in traceing.
> > Have you destroyed your trace correctly?
> > --
> > Regards,
> >
> > Jerome
> >
> > _________________________________________________________________
> > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> > https://signup.live.com/signup.aspx?id=60969
> > _______________________________________________
> > ltt-dev mailing list
> > ltt-dev at lists.casi.polymtl.ca
> > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
>
> --
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20100518/809589a9/attachment.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI (Solved)
2010-05-18 16:20 ` [ltt-dev] Problems with LTTV GUI (Solved) Gianluca Valentino
@ 2010-05-18 16:20 ` Gianluca Valentino
2010-05-18 16:20 ` Gianluca Valentino
1 sibling, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 16:20 UTC (permalink / raw)
Thank you Jerome and Mathieu,
Although I patched the kernel correctly my ltt-control and lttv packages were incompatible with the 2.6.31.5 tree. Installing compatible versions did the trick.
Regards,
Gianluca
> Date: Tue, 18 May 2010 11:02:04 -0400
> From: compudj@krystal.dyndns.org
> To: g_v_valentino at hotmail.com
> CC: jeromezhr at gmail.com; ltt-dev at lists.casi.polymtl.ca
> Subject: Re: [ltt-dev] Problems with LTTV GUI
>
> * Gianluca Valentino (g_v_valentino at hotmail.com) wrote:
> >
> > Dear Jerome,
> >
> > I think I have destroyed it correctly, at least that's what it says when I run it in text-mode (see no. 8 below).. I will explain each step that I have done after booting with the LTTng patched kernel below:
> >
> > 1. Edit system-wide configuration (as explained in the guide: http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#section2)
> > mkdir /mnt/debugfs
> > cp /etc/fstab /etc/fstab.lttng.bkp
> > echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab
> > 2. Insert the specific modules (every time I boot)
> > modprobe kernel-trace
> > modprobe mm-trace
> > modprobe net-trace
> > modprobe fs-trace
> > modprobe jbd2-trace
> > modprobe ext4-trace
> > modprobe syscall-trace
> > modprobe trap-trace
> > modprobe ltt-statedump
> >
> > I couldn't do
> >
> > modprobe ltt-trace-control
> > modprobe ltt-marker-control
> > modprobe ltt-tracer
> > modprobe ltt-serialize
> > modprobe ltt-relay
> >
> > However these should be in-built as they appear as .o and .c files in /lib/modules/2.6.31.5-custom/build/ltt
>
> Please see the Compatibility list, available from the download section
> of the lttng.org website:
>
> ltt-control 0.84 is compatible with LTTng 0.191 to 0.214, which means
> kernels 2.6.32.4 to 2.6.33.4. You are using a 2.6.31.5 tree, so I wonder
> which LTTng version you use.
>
> Thanks,
>
> Mathieu
>
> >
> > 3. I installed the ltt-control and lttv packages as explained in the guide above
> >
> > 4. echo text > sudo tee -a /mnt/debugfs/ltt/write_event does not give me any error
> >
> > 5. I execute sudo ltt-armall, and sudo lttv-gui
> >
> > 6. I click on the 'traffic light' icon and I enter the root password. I click on start and then stop. LTTng Trace Control asks me if I want to open the trace in LTTV. I click yes, and it tells me "Cannot open trace: maybe you should enter in the directory to select it". Checking the sizes of the files in /tmp/trace1 (as you asked me) are all zero-sized.
> >
> > 7. With the CLI version of lttv: I execute sudo lttctl -C -w /tmp/trace1 trace1. It gives me:
> >
> > Linux Trace Toolkit Trace Control 0.84-07042010
> >
> > Controlling trace : trace1
> >
> > lttctl: Creating trace
> > lttctl: Forking lttd
> > Linux Trace Toolkit Trace Daemon 0.84-07042010
> >
> > Reading from debugfs directory : /sys/kernel/debug/ltt/trace1
> > Writing to trace directory : /tmp/trace1
> >
> > lttctl: Starting trace
> > ubuntu at beagleboard:~$
> >
> > 8. Then I execute sudo lttctl -D trace1 to destroy trace. It gives me:
> >
> >
> >
> > Linux Trace Toolkit Trace Control 0.84-07042010
> >
> > Controlling trace : trace1
> >
> > lttctl: Pausing trace
> > lttctl: Destroying trace
> > ubuntu at beagleboard:~$
> >
> > 9. The only error I encountered was when I tried lttv -m textDump -t /tmp/trace1 for a simple trace dump in text format.
> >
> > After a series of long lines like:
> >
> > The input data file /tmp/trace1/net_0 does not contain a trace
> >
> > it told me WARNING **: Trace /tmp/trace1 has no metadata tracefile
> >
> > and CRITICAL **: cannot open trace /tmp/trace1
> >
> > and finally: /usr/local/bin/lttv: line 15: 2152 Segmentation fault $0.real $*
> >
> >
> >
> > Date: Tue, 18 May 2010 21:27:20 +0800
> > Subject: Re: [ltt-dev] Problems with LTTV GUI
> > From: jeromezhr@gmail.com
> > To: g_v_valentino at hotmail.com
> > CC: ltt-dev at lists.casi.polymtl.ca
> >
> > 2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: g_v_valentino@hotmail.com
> > To: jeromezhr at gmail.com
> > Subject: RE: [ltt-dev] Problems with LTTV GUI
> >
> > Date: Tue, 18 May 2010 15:18:16 +0200
> >
> >
> >
> > Dear Jerome,
> >
> > Thanks for your reply. Yes they are all zero-sized..
> >
> > Regards,
> >
> > Gianluca
> >
> >
> >
> > So I think there must be some problems in traceing.
> > Have you destroyed your trace correctly?
> > --
> > Regards,
> >
> > Jerome
> >
> > _________________________________________________________________
> > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> > https://signup.live.com/signup.aspx?id=60969
> > _______________________________________________
> > ltt-dev mailing list
> > ltt-dev at lists.casi.polymtl.ca
> > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
>
> --
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/809589a9/attachment-0003.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
* [ltt-dev] Problems with LTTV GUI (Solved)
2010-05-18 16:20 ` [ltt-dev] Problems with LTTV GUI (Solved) Gianluca Valentino
2010-05-18 16:20 ` Gianluca Valentino
@ 2010-05-18 16:20 ` Gianluca Valentino
1 sibling, 0 replies; 19+ messages in thread
From: Gianluca Valentino @ 2010-05-18 16:20 UTC (permalink / raw)
Thank you Jerome and Mathieu,
Although I patched the kernel correctly my ltt-control and lttv packages were incompatible with the 2.6.31.5 tree. Installing compatible versions did the trick.
Regards,
Gianluca
> Date: Tue, 18 May 2010 11:02:04 -0400
> From: compudj@krystal.dyndns.org
> To: g_v_valentino at hotmail.com
> CC: jeromezhr at gmail.com; ltt-dev at lists.casi.polymtl.ca
> Subject: Re: [ltt-dev] Problems with LTTV GUI
>
> * Gianluca Valentino (g_v_valentino at hotmail.com) wrote:
> >
> > Dear Jerome,
> >
> > I think I have destroyed it correctly, at least that's what it says when I run it in text-mode (see no. 8 below).. I will explain each step that I have done after booting with the LTTng patched kernel below:
> >
> > 1. Edit system-wide configuration (as explained in the guide: http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=LTTngManual.html#section2)
> > mkdir /mnt/debugfs
> > cp /etc/fstab /etc/fstab.lttng.bkp
> > echo "debugfs /mnt/debugfs debugfs rw 0 0" >> /etc/fstab
> > 2. Insert the specific modules (every time I boot)
> > modprobe kernel-trace
> > modprobe mm-trace
> > modprobe net-trace
> > modprobe fs-trace
> > modprobe jbd2-trace
> > modprobe ext4-trace
> > modprobe syscall-trace
> > modprobe trap-trace
> > modprobe ltt-statedump
> >
> > I couldn't do
> >
> > modprobe ltt-trace-control
> > modprobe ltt-marker-control
> > modprobe ltt-tracer
> > modprobe ltt-serialize
> > modprobe ltt-relay
> >
> > However these should be in-built as they appear as .o and .c files in /lib/modules/2.6.31.5-custom/build/ltt
>
> Please see the Compatibility list, available from the download section
> of the lttng.org website:
>
> ltt-control 0.84 is compatible with LTTng 0.191 to 0.214, which means
> kernels 2.6.32.4 to 2.6.33.4. You are using a 2.6.31.5 tree, so I wonder
> which LTTng version you use.
>
> Thanks,
>
> Mathieu
>
> >
> > 3. I installed the ltt-control and lttv packages as explained in the guide above
> >
> > 4. echo text > sudo tee -a /mnt/debugfs/ltt/write_event does not give me any error
> >
> > 5. I execute sudo ltt-armall, and sudo lttv-gui
> >
> > 6. I click on the 'traffic light' icon and I enter the root password. I click on start and then stop. LTTng Trace Control asks me if I want to open the trace in LTTV. I click yes, and it tells me "Cannot open trace: maybe you should enter in the directory to select it". Checking the sizes of the files in /tmp/trace1 (as you asked me) are all zero-sized.
> >
> > 7. With the CLI version of lttv: I execute sudo lttctl -C -w /tmp/trace1 trace1. It gives me:
> >
> > Linux Trace Toolkit Trace Control 0.84-07042010
> >
> > Controlling trace : trace1
> >
> > lttctl: Creating trace
> > lttctl: Forking lttd
> > Linux Trace Toolkit Trace Daemon 0.84-07042010
> >
> > Reading from debugfs directory : /sys/kernel/debug/ltt/trace1
> > Writing to trace directory : /tmp/trace1
> >
> > lttctl: Starting trace
> > ubuntu at beagleboard:~$
> >
> > 8. Then I execute sudo lttctl -D trace1 to destroy trace. It gives me:
> >
> >
> >
> > Linux Trace Toolkit Trace Control 0.84-07042010
> >
> > Controlling trace : trace1
> >
> > lttctl: Pausing trace
> > lttctl: Destroying trace
> > ubuntu at beagleboard:~$
> >
> > 9. The only error I encountered was when I tried lttv -m textDump -t /tmp/trace1 for a simple trace dump in text format.
> >
> > After a series of long lines like:
> >
> > The input data file /tmp/trace1/net_0 does not contain a trace
> >
> > it told me WARNING **: Trace /tmp/trace1 has no metadata tracefile
> >
> > and CRITICAL **: cannot open trace /tmp/trace1
> >
> > and finally: /usr/local/bin/lttv: line 15: 2152 Segmentation fault $0.real $*
> >
> >
> >
> > Date: Tue, 18 May 2010 21:27:20 +0800
> > Subject: Re: [ltt-dev] Problems with LTTV GUI
> > From: jeromezhr@gmail.com
> > To: g_v_valentino at hotmail.com
> > CC: ltt-dev at lists.casi.polymtl.ca
> >
> > 2010/5/18 Gianluca Valentino <g_v_valentino at hotmail.com>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: g_v_valentino@hotmail.com
> > To: jeromezhr at gmail.com
> > Subject: RE: [ltt-dev] Problems with LTTV GUI
> >
> > Date: Tue, 18 May 2010 15:18:16 +0200
> >
> >
> >
> > Dear Jerome,
> >
> > Thanks for your reply. Yes they are all zero-sized..
> >
> > Regards,
> >
> > Gianluca
> >
> >
> >
> > So I think there must be some problems in traceing.
> > Have you destroyed your trace correctly?
> > --
> > Regards,
> >
> > Jerome
> >
> > _________________________________________________________________
> > Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> > https://signup.live.com/signup.aspx?id=60969
> > _______________________________________________
> > ltt-dev mailing list
> > ltt-dev at lists.casi.polymtl.ca
> > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
>
> --
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20100518/809589a9/attachment-0002.htm>
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2010-05-18 16:20 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-18 6:46 [ltt-dev] Problems with LTTV GUI Gianluca Valentino
2010-05-18 6:46 ` Gianluca Valentino
2010-05-18 6:46 ` Gianluca Valentino
2010-05-18 11:43 ` jerome zh
2010-05-18 11:43 ` jerome zh
2010-05-18 11:43 ` jerome zh
2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:19 ` Gianluca Valentino
2010-05-18 13:27 ` jerome zh
2010-05-18 13:27 ` jerome zh
2010-05-18 13:27 ` jerome zh
2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 14:52 ` Gianluca Valentino
2010-05-18 15:02 ` Mathieu Desnoyers
2010-05-18 16:20 ` [ltt-dev] Problems with LTTV GUI (Solved) Gianluca Valentino
2010-05-18 16:20 ` Gianluca Valentino
2010-05-18 16:20 ` Gianluca Valentino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox