OSDN Git Service

ARM: 8632/1: ftrace: fix syscall name matching
authorRabin Vincent <rabinv@axis.com>
Wed, 23 Nov 2016 12:02:32 +0000 (13:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2017 16:08:58 +0000 (09:08 -0700)
commit5205f5216c6aee6ff6fa947ef7cb0fcb3473d4e3
treefc6ee9c06e81eb97dd19c363fa7ef87e8271c068
parent874f22658c5479a04427103ac5d59ecfb2ba890b
ARM: 8632/1: ftrace: fix syscall name matching

[ Upstream commit 270c8cf1cacc69cb8d99dea812f06067a45e4609 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/include/asm/ftrace.h