Hi,
I've put together LTTng 2.0 tools into overlay PPA to use and evaluate it on ARM platforms.
LTTng 2.0 [1] is a tracer toolchain that allows integrated kernel and user-space tracing from a single user interface: the "lttng" command. LTTng 2.0 kernel tracer modules build against a vanilla or distribution kernel, without need for additional patches. It is currently in pre-release state to gather feedback from users.
I've taken the packages from LTTng Daily Builds PPA [2], modified it to build and run on armel and pushed it to overlay.
To install it:
$ sudo apt-add-repository ppa:linaro-maintainers/overlay $ sudo apt-get update $ sudo apt-get install lttng-tools lttng-modules-dkms babeltrace
To run it, we need to create a session $ sudo lttng create mysession
To list the available kernel events: $ sudo lttng list -k
Enable all/some events for this session $ sudo lttng enable-event -a -k
Start the tracing: $ sudo lttng start By default traces are saved in ~/lttng-traces/mysession-<date>-<time>/
When you're done: $ sudo lttng stop
You can then read the trace with babeltrace: $ babeltrace /path/to/trace/dir
Please test it and give feedback.
Regards, Avik
[1] http://lttng.org/lttng2.0 [2] https://launchpad.net/~lttng/+archive/daily
On 09/22/2011 03:55 AM, Avik Sil wrote:
Hi,
I've put together LTTng 2.0 tools into overlay PPA to use and evaluate it on ARM platforms.
Very cool. I've added this to the wiki:
https://wiki.linaro.org/Resources/HowTo/LTTng
LTTng 2.0 [1] is a tracer toolchain that allows integrated kernel and user-space tracing from a single user interface: the "lttng" command. LTTng 2.0 kernel tracer modules build against a vanilla or distribution kernel, without need for additional patches. It is currently in pre-release state to gather feedback from users.
I've taken the packages from LTTng Daily Builds PPA [2], modified it to build and run on armel and pushed it to overlay.
To install it:
$ sudo apt-add-repository ppa:linaro-maintainers/overlay $ sudo apt-get update $ sudo apt-get install lttng-tools lttng-modules-dkms babeltrace
To run it, we need to create a session $ sudo lttng create mysession
To list the available kernel events: $ sudo lttng list -k
Enable all/some events for this session $ sudo lttng enable-event -a -k
Start the tracing: $ sudo lttng start By default traces are saved in ~/lttng-traces/mysession-<date>-<time>/
When you're done: $ sudo lttng stop
You can then read the trace with babeltrace: $ babeltrace /path/to/trace/dir
Please test it and give feedback.
Regards, Avik
[1] http://lttng.org/lttng2.0 [2] https://launchpad.net/~lttng/+archive/daily
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Hi,
Very cool. I've added this to the wiki:
Good idea ! I could move and reference page under https://wiki.linaro.org/Platform/DevPlatform/Tools if people agree. Well, I may be speaking a bit quickly as I found out https://wiki.linaro.org/KenWerner/Sandbox/LTTng that could also be merged in. Avik, Andy, Ken ?
Regards Fred
Frederic Turgis OMAP Platform Business Unit - OMAP System Engineering - Platform Enablement
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920
* Turgis, Frederic (f-turgis@ti.com) wrote:
Hi,
Very cool. I've added this to the wiki:
Good idea ! I could move and reference page under https://wiki.linaro.org/Platform/DevPlatform/Tools if people agree. Well, I may be speaking a bit quickly as I found out https://wiki.linaro.org/KenWerner/Sandbox/LTTng that could also be merged in. Avik, Andy, Ken ?
Please note that https://wiki.linaro.org/KenWerner/Sandbox/LTTng should be udpated for the new LTTng 2.0, which does not require kernel patching anymore. It's simply a stand-alone module package.
Thanks!
Mathieu
Regards Fred
Frederic Turgis OMAP Platform Business Unit - OMAP System Engineering - Platform Enablement
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920
On 09/23/2011 06:51 AM, Turgis, Frederic wrote:
Hi,
Very cool. I've added this to the wiki:
Good idea ! I could move and reference page under https://wiki.linaro.org/Platform/DevPlatform/Tools if people agree. Well, I may be speaking a bit quickly as I found out https://wiki.linaro.org/KenWerner/Sandbox/LTTng that could also be merged in. Avik, Andy, Ken ?
I just renamed the page and added a link from the tools page.
As per Ken's work: I'm not that familiar with LTTng, so I think it might be easier for one of you guys to merge them.
I will have a look on my side to align with DevPlatform team on latest updates
Regards Fred
Frederic Turgis OMAP Platform Business Unit - OMAP System Engineering - Platform Enablement
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920
-----Original Message-----
From: Andy Doan [mailto:andy.doan@linaro.org] Sent: Friday, September 23, 2011 5:00 PM To: Turgis, Frederic Cc: Avik Sil; Mathieu Desnoyers; Alexandre Montplaisir; linaro-dev; Ken Werner Subject: Re: LTTng 2.0 pre-release for ARM
On 09/23/2011 06:51 AM, Turgis, Frederic wrote:
Hi,
Very cool. I've added this to the wiki:
Good idea ! I could move and reference page under
https://wiki.linaro.org/Platform/DevPlatform/Tools if people agree. Well, I may be speaking a bit quickly as I found out https://wiki.linaro.org/KenWerner/Sandbox/LTTng that could also be merged in. Avik, Andy, Ken ?
I just renamed the page and added a link from the tools page.
As per Ken's work: I'm not that familiar with LTTng, so I think it might be easier for one of you guys to merge them.
On 09/23/2011 05:00 PM, Andy Doan wrote:
On 09/23/2011 06:51 AM, Turgis, Frederic wrote:
Hi,
Very cool. I've added this to the wiki:
Good idea ! I could move and reference page under https://wiki.linaro.org/Platform/DevPlatform/Tools if people agree. Well, I may be speaking a bit quickly as I found out https://wiki.linaro.org/KenWerner/Sandbox/LTTng that could also be merged in. Avik, Andy, Ken ?
I just renamed the page and added a link from the tools page.
As per Ken's work: I'm not that familiar with LTTng, so I think it might be easier for one of you guys to merge them.
Hi,
sorry for the delay - I've been on vacation. The wiki page (https://wiki.linaro.org/KenWerner/Sandbox/LTTng) was created when I briefly looked at the state of some developer tools an ARM Linux. The LTTng kernel stuff was an out of tree patchset that was not part of the Linaro kernel. The ARM port of the userspace tracer (UST) was not there yet. So, the wiki page just reflects the state of LTTng on ARM Linux back then. I'm not sure this is helpful for end users.
According to https://wiki.linaro.org/Platform/DevPlatform/Tools/LTTng it seems the kernel part works now. The liburcu ARM port doesn't seem to be there yet.
Regards Ken