Re: [PATCH] ARM: ftrace: fix syscall name matching

2016-11-15 Thread Rabin Vincent
On Mon, Nov 14, 2016 at 10:40:08AM -0500, Steven Rostedt wrote: > On Mon, 14 Nov 2016 13:40:17 + > Russell King - ARM Linux wrote: > > On Mon, Nov 14, 2016 at 02:03:45PM +0100, Rabin Vincent wrote: > > > +static inline bool arch_syscall_match_sym_name(const char *sym, > > > +

Re: [PATCH] ARM: ftrace: fix syscall name matching

2016-11-14 Thread Steven Rostedt
On Mon, 14 Nov 2016 10:40:08 -0500 Steven Rostedt wrote: > > Is this really safe? What guarantees that we can wind forward four > > bytes here? If it's always safe, it needs a better comment than just > > two words. > > I believe it is, but a comment would do well. Also, the generic functi

Re: [PATCH] ARM: ftrace: fix syscall name matching

2016-11-14 Thread Steven Rostedt
On Mon, 14 Nov 2016 13:40:17 + Russell King - ARM Linux wrote: > On Mon, Nov 14, 2016 at 02:03:45PM +0100, Rabin Vincent wrote: > > From: Rabin Vincent > > > > ARM has a few system calls (most notably mmap) for which the names of > > the functions which are referenced in the syscall table d

Re: [PATCH] ARM: ftrace: fix syscall name matching

2016-11-14 Thread Russell King - ARM Linux
On Mon, Nov 14, 2016 at 02:03:45PM +0100, Rabin Vincent wrote: > From: Rabin Vincent > > ARM has a few system calls (most notably mmap) for which the names of > the functions which are referenced in the syscall table do not match the > names of the syscall tracepoints. As a consequence of this,

[PATCH] ARM: ftrace: fix syscall name matching

2016-11-14 Thread Rabin Vincent
From: Rabin Vincent ARM has a few system calls (most notably mmap) for which the names of the functions which are referenced in the syscall table do not match the names of the syscall tracepoints. As a consequence of this, these tracepoints are not made available. Implement arch_syscall_match_s