ARM: 8632/1: ftrace: fix syscall name matching
authorRabin Vincent <rabinv@axis.com>
Wed, 23 Nov 2016 12:02:32 +0000 (13:02 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 10 Jan 2017 23:32:25 +0000 (23:32 +0000)
commit270c8cf1cacc69cb8d99dea812f06067a45e4609
tree651a47c5b6d499431b88864c8797d238dd0a78cb
parent7ce7d89f48834cefece7804d38fc5d85382edf77
ARM: 8632/1: ftrace: fix syscall name matching

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_sym_name to fix this and allow tracing even these
system calls.

Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/ftrace.h