diff options
author | Srikar Dronamraju <srikar@linux.vnet.ibm.com> | 2012-04-09 05:11:44 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-07 08:29:57 -0400 |
commit | 8ab83f56475ec9151645a888dfe1941f4a92091d (patch) | |
tree | 91f33bc65e6d24c0db020195f560a19d140a3145 /kernel/trace/Kconfig | |
parent | 3a6b76661da8e92124a813b43607f5bec1a618de (diff) |
tracing: Extract out common code for kprobes/uprobes trace events
Move parts of trace_kprobe.c that can be shared with upcoming
trace_uprobe.c. Common code to kernel/trace/trace_probe.h and
kernel/trace/trace_probe.c. There are no functional changes.
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Jim Keniston <jkenisto@linux.vnet.ibm.com>
Cc: Linux-mm <linux-mm@kvack.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Anton Arapov <anton@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20120409091144.8343.76218.sendpatchset@srdronam.in.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index a1d2849f2473..ce5a5c54ac8f 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -373,6 +373,7 @@ config KPROBE_EVENT | |||
373 | depends on HAVE_REGS_AND_STACK_ACCESS_API | 373 | depends on HAVE_REGS_AND_STACK_ACCESS_API |
374 | bool "Enable kprobes-based dynamic events" | 374 | bool "Enable kprobes-based dynamic events" |
375 | select TRACING | 375 | select TRACING |
376 | select PROBE_EVENTS | ||
376 | default y | 377 | default y |
377 | help | 378 | help |
378 | This allows the user to add tracing events (similar to tracepoints) | 379 | This allows the user to add tracing events (similar to tracepoints) |
@@ -385,6 +386,9 @@ config KPROBE_EVENT | |||
385 | This option is also required by perf-probe subcommand of perf tools. | 386 | This option is also required by perf-probe subcommand of perf tools. |
386 | If you want to use perf tools, this option is strongly recommended. | 387 | If you want to use perf tools, this option is strongly recommended. |
387 | 388 | ||
389 | config PROBE_EVENTS | ||
390 | def_bool n | ||
391 | |||
388 | config DYNAMIC_FTRACE | 392 | config DYNAMIC_FTRACE |
389 | bool "enable/disable ftrace tracepoints dynamically" | 393 | bool "enable/disable ftrace tracepoints dynamically" |
390 | depends on FUNCTION_TRACER | 394 | depends on FUNCTION_TRACER |