From: AKASHI Takahiro Date: Wed, 30 Apr 2014 09:54:36 +0000 (+0100) Subject: arm64: ftrace: Add system call tracepoint X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=055b1212d141f1f398fca548f8147787c0b6253f;p=pandora-kernel.git arm64: ftrace: Add system call tracepoint This patch allows system call entry or exit to be traced as ftrace events, ie. sys_enter_*/sys_exit_*, if CONFIG_FTRACE_SYSCALLS is enabled. Those events appear and can be controlled under ${sysfs}/tracing/events/syscalls/ Please note that we can't trace compat system calls here because AArch32 mode does not share the same syscall table with AArch64. Just define ARCH_TRACE_IGNORE_COMPAT_SYSCALLS in order to avoid unexpected results (bogus syscalls reported or even hang-up). Acked-by: Will Deacon Signed-off-by: AKASHI Takahiro Signed-off-by: Will Deacon --- Reading git-diff-tree failed