Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-11 Thread Mathieu Desnoyers
* Jan Glauber (jan.glau...@gmail.com) wrote: On Wed, Apr 10, 2013 at 12:39:50PM -0400, Mathieu Desnoyers wrote: * Jan Glauber (jan.glau...@gmail.com) wrote: On Wed, Apr 10, 2013 at 12:20:12PM -0400, Mathieu Desnoyers wrote: Thanks for the detailed report !! Please try with

[lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
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

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Pierre-Luc St-Charles
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

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
On Wed, Apr 10, 2013 at 08:37:18AM -0400, PLSTC 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

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Pierre-Luc St-Charles
Here are the links I stashed a while back about previous patching attempts to add syscall tracepoints to the ARM kernel : Most promising: http://www.spinics.net/lists/arm-kernel/msg166419.html Earlier draft(s): http://lists.infradead.org/pipermail/linux-arm-kernel/2012-February/086974.html

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
On Wed, Apr 10, 2013 at 09:38:33AM -0400, Pierre-Luc St-Charles wrote: Here are the links I stashed a while back about previous patching attempts to add syscall tracepoints to the ARM kernel : Most promising: http://www.spinics.net/lists/arm-kernel/msg166419.html Earlier draft(s):

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Christian Babeux
Hi Jan, This seems related to bug #472 [1]. CCing Mathieu. Christian [1] - http://bugs.lttng.org/issues/472 On Wed, Apr 10, 2013 at 12:02 PM, Jan Glauber jan.glau...@gmail.com wrote: On Wed, Apr 10, 2013 at 09:38:33AM -0400, Pierre-Luc St-Charles wrote: Here are the links I stashed a while

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Mathieu Desnoyers
* Jan Glauber (jan.glau...@gmail.com) wrote: On Wed, Apr 10, 2013 at 09:38:33AM -0400, Pierre-Luc St-Charles wrote: Here are the links I stashed a while back about previous patching attempts to add syscall tracepoints to the ARM kernel : Most promising:

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
On Wed, Apr 10, 2013 at 12:20:12PM -0400, Mathieu Desnoyers wrote: Thanks for the detailed report !! Please try with this commit: Yes, that patch works. But I'm still curious if you can explain what the override was for ;- --Jan commit 11fa478f18241fedee86f7dc7820a91c629c9e7e Author:

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Mathieu Desnoyers
* Jan Glauber (jan.glau...@gmail.com) wrote: On Wed, Apr 10, 2013 at 12:20:12PM -0400, Mathieu Desnoyers wrote: Thanks for the detailed report !! Please try with this commit: Yes, that patch works. But I'm still curious if you can explain what the override was for ;- The override