From: Mathieu Desnoyers Date: Tue, 27 Sep 2011 15:16:03 +0000 (-0400) Subject: Add check for KALLSYMS_ALL in syscall extraction script X-Git-Tag: v2.0-pre9~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bc55cda31cd8fbcdfb16777b585b1d097aeb61f1;p=lttng-modules.git Add check for KALLSYMS_ALL in syscall extraction script Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c b/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c index 2eb1cda2..06c0da13 100644 --- a/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c +++ b/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c @@ -22,6 +22,10 @@ #error "You need to set CONFIG_FTRACE_SYSCALLS=y" #endif +#ifndef CONFIG_KALLSYMS_ALL +#error "You need to set CONFIG_KALLSYMS_ALL=y" +#endif + static struct syscall_metadata **__start_syscalls_metadata; static struct syscall_metadata **__stop_syscalls_metadata;