tracing/syscalls: select kallsysms
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 15 Mar 2009 21:10:38 +0000 (22:10 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 16 Mar 2009 08:13:17 +0000 (09:13 +0100)
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>
kernel/trace/Kconfig

index 95a0ad1..b0a46f8 100644 (file)
@@ -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.