diff options
-rw-r--r-- | arch/Kconfig | 2 | ||||
-rw-r--r-- | kernel/Makefile | 1 | ||||
-rw-r--r-- | kernel/events/Makefile | 3 | ||||
-rw-r--r-- | kernel/events/uprobes.c (renamed from kernel/uprobes.c) | 0 |
4 files changed, 4 insertions, 2 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index cca5b545d806..d0e37c9d5f6b 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -67,7 +67,7 @@ config OPTPROBES | |||
67 | 67 | ||
68 | config UPROBES | 68 | config UPROBES |
69 | bool "Transparent user-space probes (EXPERIMENTAL)" | 69 | bool "Transparent user-space probes (EXPERIMENTAL)" |
70 | depends on ARCH_SUPPORTS_UPROBES | 70 | depends on ARCH_SUPPORTS_UPROBES && PERF_EVENTS |
71 | default n | 71 | default n |
72 | help | 72 | help |
73 | Uprobes is the user-space counterpart to kprobes: they | 73 | Uprobes is the user-space counterpart to kprobes: they |
diff --git a/kernel/Makefile b/kernel/Makefile index 8609dd3d875a..2d9de86b7e76 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -107,7 +107,6 @@ obj-$(CONFIG_USER_RETURN_NOTIFIER) += user-return-notifier.o | |||
107 | obj-$(CONFIG_PADATA) += padata.o | 107 | obj-$(CONFIG_PADATA) += padata.o |
108 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 108 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
109 | obj-$(CONFIG_JUMP_LABEL) += jump_label.o | 109 | obj-$(CONFIG_JUMP_LABEL) += jump_label.o |
110 | obj-$(CONFIG_UPROBES) += uprobes.o | ||
111 | 110 | ||
112 | $(obj)/configs.o: $(obj)/config_data.h | 111 | $(obj)/configs.o: $(obj)/config_data.h |
113 | 112 | ||
diff --git a/kernel/events/Makefile b/kernel/events/Makefile index 22d901f9caf4..103f5d147b2f 100644 --- a/kernel/events/Makefile +++ b/kernel/events/Makefile | |||
@@ -3,4 +3,7 @@ CFLAGS_REMOVE_core.o = -pg | |||
3 | endif | 3 | endif |
4 | 4 | ||
5 | obj-y := core.o ring_buffer.o callchain.o | 5 | obj-y := core.o ring_buffer.o callchain.o |
6 | |||
6 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o | 7 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o |
8 | obj-$(CONFIG_UPROBES) += uprobes.o | ||
9 | |||
diff --git a/kernel/uprobes.c b/kernel/events/uprobes.c index 884817f1b0d3..884817f1b0d3 100644 --- a/kernel/uprobes.c +++ b/kernel/events/uprobes.c | |||