]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
uprobes: Move to kernel/events/
authorIngo Molnar <mingo@elte.hu>
Wed, 22 Feb 2012 10:01:49 +0000 (11:01 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Feb 2012 10:08:00 +0000 (11:08 +0100)
Consolidate the uprobes code under kernel/events/, where the various
core kernel event handling routines live.

Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Anton Arapov <anton@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Link: http://lkml.kernel.org/n/tip-biuyhhwohxgbp2vzbap5yr8o@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/Kconfig
kernel/Makefile
kernel/events/Makefile
kernel/events/uprobes.c [moved from kernel/uprobes.c with 100% similarity]

index cca5b545d806fa82ffc559cc817126bc72201121..d0e37c9d5f6b06030abe4ac9f00207456928883c 100644 (file)
@@ -67,7 +67,7 @@ config OPTPROBES
 
 config UPROBES
        bool "Transparent user-space probes (EXPERIMENTAL)"
-       depends on ARCH_SUPPORTS_UPROBES
+       depends on ARCH_SUPPORTS_UPROBES && PERF_EVENTS
        default n
        help
          Uprobes is the user-space counterpart to kprobes: they
index 8609dd3d875ad9cebc538f93c1728182dbcf4321..2d9de86b7e767f518e59183a98bf4c04e0038813 100644 (file)
@@ -107,7 +107,6 @@ obj-$(CONFIG_USER_RETURN_NOTIFIER) += user-return-notifier.o
 obj-$(CONFIG_PADATA) += padata.o
 obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
 obj-$(CONFIG_JUMP_LABEL) += jump_label.o
-obj-$(CONFIG_UPROBES) += uprobes.o
 
 $(obj)/configs.o: $(obj)/config_data.h
 
index 22d901f9caf44ec245edb24fb742a4664afadb95..103f5d147b2f9f483b8c3920178d4bdbfb74e400 100644 (file)
@@ -3,4 +3,7 @@ CFLAGS_REMOVE_core.o = -pg
 endif
 
 obj-y := core.o ring_buffer.o callchain.o
+
 obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o
+obj-$(CONFIG_UPROBES) += uprobes.o
+
similarity index 100%
rename from kernel/uprobes.c
rename to kernel/events/uprobes.c