[lttng-dev] LTTNG on Android ICS

Francis Giraldeau francis.giraldeau at gmail.com
Fri May 17 07:50:40 EDT 2013


Le 2013-05-17 01:32, Ionut D. a écrit :
> Hello all,
>
> Recently I started to integrate LTTNG in Android ICS by compiling each
> package, each dependency, by using the Android build system. It is a
> lot of work because I met different problems and to be sincere, I do
> not know if at the end will work and I do not know how much I will
> need to modify the sources in order to work.
>
> My questions are about this integration. I mention that I read a lot
> of discussions about this on Internet, on this mailing list, but the
> things are still not very clear for me.
>
> It is ok? what I am trying to do ? to integrate and build by using the
> Android build system.
> Could you give me some guidelines, indications about how I should
> proceed, maybe a tutorial or maybe some android make files/patches
> that would help me to see how the job must be done and if I am doing
> it right ?
Hi!

A group of students at Ecole Polytechnique of Montreal worked on that
topic. They were able to get a kernel trace from Nexus 7 tablet. It
required small modifications to tools, and cleanup is in process to
merge patches upstream[1]. Kernel tracing is working, while UST requires
still some work on few bugs. I received the confirmation from the
students the build scripts they created will be released under open
source licence soon.

LTTng tools depends on two libraries libpopt and libuuid that are in
android sources. It's simpler to just build the whole thing. Once tools
are built, then they can be installed on the target.

A tutorial would be a must! I'm installing it on my phone right now, if
nobody else did the tutorial by then, I will do so. That would be great
if this was to be integrated in the dev tools in the android source repo!

Cheers,

Francis

[1] http://git.dorsal.polymtl.ca/~cbriere?p=lttng-tools.git;a=summary
<http://git.dorsal.polymtl.ca/%7Ecbriere?p=lttng-tools.git;a=summary>
branch portAndroid-rebased-signed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130517/ad949afb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4489 bytes
Desc: Signature cryptographique S/MIME
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130517/ad949afb/attachment.bin>


More information about the lttng-dev mailing list