[lttng-dev] LTTng on Android

Jan Glauber jan.glauber at gmail.com
Tue Jul 1 05:55:22 EDT 2014


Hi Charles,

thanks for your answer. So the main problem seems to be bionic and missing
headers of the NDK. How about compiling LTTng user-space as static to avoid
these issues?

Cheers,
Jan


2014-06-30 19:47 GMT+02:00 Charles Brière <charles.briere at polymtl.ca>:

> Hi Jan,
>
> I was part of the students working on it a year ago. We had kernel tracing
> working at the time, though we had some trouble as bionic doesn't have
> pthread_cancel. I think we had replaced that by a dummy pthread_kill at the
> time and that is part of the reason our patches were not accepted.
>
> I recently resent some patches for libURCU so this should not be a problem
> to compile for android out of master branch, even with NDK.
>
> I have been trying lately to get lttng-tools compiling out of NDK (faster
> than checking out the whole Android tree) but there is a lot of headers
> missing, most important are related to shared memory. I was about to
> continue working on it, this time with the whole Android tree, but ran out
> of disk space so had to postpone until I receive some more storage. I hope
> I'll be able to release patches within the next month.
>
> Cheers,
> Charles
>
>
> On Mon, Jun 30, 2014 at 7:03 AM, Jan Glauber <jan.glauber at gmail.com>
> wrote:
>
>> Hi LTTngers,
>>
>> I want to ask about the status of LTTng on Android. Is anyone using it
>> already? I remember there was some student project to get LTTng running
>> with bionic but I don't know how far they got.
>>
>> thanks, Jan
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140701/8b3d0e33/attachment.html>


More information about the lttng-dev mailing list