diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2014-04-30 18:54:36 +0900 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2014-06-04 18:00:10 +0800 |
commit | 302268d39b8109e3790b3a45b06e67bf46bcc744 (patch) | |
tree | 7921c5d9072208e034e41887c1938f3192ac22b9 /arch/arm64/Kconfig | |
parent | f3350a7ce92c1538e57c96c9a2bc2a842d899cd8 (diff) |
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 <will.deacon@arm.com>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from LSK commit 1bda9b270a49edbe30c77f1ba160e6535a568d60)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9ddb5a6790be..4ce0836e5c70 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -43,6 +43,7 @@ config ARM64 select HAVE_MEMBLOCK select HAVE_PATA_PLATFORM select HAVE_PERF_EVENTS + select HAVE_SYSCALL_TRACEPOINTS select IRQ_DOMAIN select MODULES_USE_ELF_RELA select NO_BOOTMEM |