aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-03-15 22:10:38 +0100
committerIngo Molnar <mingo@elte.hu>2009-03-16 09:13:17 +0100
commit0ea1c4156bf9e2eb370cc5c6fa6eb112bd844dec (patch)
treef07c37d42ca285f7cc88307c6b3586bc11e80090 /kernel/trace/Kconfig
parenttracing/syscalls: protect thread flag toggling from races (diff)
downloadlinux-dev-0ea1c4156bf9e2eb370cc5c6fa6eb112bd844dec.tar.xz
linux-dev-0ea1c4156bf9e2eb370cc5c6fa6eb112bd844dec.zip
tracing/syscalls: select kallsysms
Syscall tracing must select kallsysms. The arch code builds a table to find the syscall metadata by syscall number. It needs the syscalls names resolution from the symbol table to know which name found on the syscalls metadatas match a function pointer from the arch sys_call_table. Reported-by: Andrew Morton <akpm@linux-foundation.org> Reported-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <1237151439-6755-4-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 95a0ad191f19..b0a46f889659 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -182,6 +182,7 @@ config FTRACE_SYSCALLS
bool "Trace syscalls"
depends on HAVE_FTRACE_SYSCALLS
select TRACING
+ select KALLSYMS
help
Basic tracer to catch the syscall entry and exit events.