<div dir="ltr">Hi Jan,<div><br></div><div>Even when disabling ust while configuring, there is still some "shm_open" (need to be replaced by ashmem) and "pthread_cancel" calls within the tools code. But I don't understand what you mean by using static linking. How would that help in the case where you are missing headers?</div>
<div><br></div><div>Cheers,</div><div>Charles</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 2:55 AM, Jan Glauber <span dir="ltr"><<a href="mailto:jan.glauber@gmail.com" target="_blank">jan.glauber@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Charles,<br><br>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?<br>
<br></div>Cheers,<br>
Jan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-30 19:47 GMT+02:00 Charles Brière <span dir="ltr"><<a href="mailto:charles.briere@polymtl.ca" target="_blank">charles.briere@polymtl.ca</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jan,<div><br></div><div>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.</div>


<div><br></div><div>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.</div><div><br></div><div>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. </div>


<div><br></div><div>Cheers,</div><div>Charles</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Mon, Jun 30, 2014 at 7:03 AM, Jan Glauber <span dir="ltr"><<a href="mailto:jan.glauber@gmail.com" target="_blank">jan.glauber@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hi LTTngers,<br><br></div>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.<br>



<br></div>thanks, Jan<br></div>
<br></div></div>_______________________________________________<br>
lttng-dev mailing list<br>
<a href="mailto:lttng-dev@lists.lttng.org" target="_blank">lttng-dev@lists.lttng.org</a><br>
<a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>