[lttng-dev] LTTng system call tracing on ARM

Pierre-Luc St-Charles pierre-luc.st-charles at polymtl.ca
Wed Apr 10 08:39:12 EDT 2013


Hey Jan,

I cannot speak on behalf of everyone here, but during our attempt to port
LTTng to Android, we also noticed that the kernels we were using (3.0.x)
were nowhere near the requirements for syscall tracepoints support. I
believe such support was added on x86/64 way earlier (early 3.x) than on
ARM, which is why it was included in LTTng's modules a while ago. Simply
put, the ARM kernel is late.

There are a few actuals ways to 'enable' syscall tracepoints support on
early ARM kernels, but they all including a bit of kernel hacking/patching.
I could send you some links if you're interested in that.

-PL
On Apr 10, 2013 8:37 AM, "PLSTC" <b0mb00z.it at gmail.com> wrote:

> Hey Jan,
>
> I cannot speak on behalf of everyone here, but during our attempt to port
> LTTng to Android, we also noticed that the kernels we were using (3.0.x)
> were nowhere near the requirements for syscall tracepoints support. I
> believe such support was added on x86/64 way earlier (early 3.x) than on
> ARM, which is why it was included in LTTng's modules a while ago. Simply
> put, the ARM kernel is late.
>
> There are a few actuals ways to 'enable' syscall tracepoints support on
> early ARM kernels, but they all including a bit of kernel hacking/patching.
> I could send you some links if you're interested in that.
>
> -PL
> On Apr 10, 2013 4:40 AM, "Jan Glauber" <jan.glauber at gmail.com> wrote:
>
>> Hi,
>>
>> I want to use LTTng for system call tracing on ARM. Now lttng-modules
>> seems
>> to support system call tracing on ARM already since
>> "8f4f80e LTTng Modules ARM syscall instrumentation".
>>
>> But I wonder how that worked since lttng-syscalls.c is only build under
>> CONFIG_HAVE_SYSCALL_TRACEPOINTS and that was added to ARM only with
>> kernel 3.6
>> (much after than the lttng-modules commit).
>>
>> Am I missing something? Is system call tracing working on ARM with the
>> upstream
>> LTTng version?
>>
>> 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/20130410/23815b0f/attachment.html>


More information about the lttng-dev mailing list