提交 09294e31 编写于 作者: D David A. Long

uprobes: Kconfig dependency fix

Suggested change from Oleg Nesterov. Fixes incomplete dependencies
for uprobes feature.
Signed-off-by: NDavid A. Long <dave.long@linaro.org>
Acked-by: NOleg Nesterov <oleg@redhat.com>
上级 0414855f
...@@ -86,9 +86,7 @@ config KPROBES_ON_FTRACE ...@@ -86,9 +86,7 @@ config KPROBES_ON_FTRACE
optimize on top of function tracing. optimize on top of function tracing.
config UPROBES config UPROBES
bool "Transparent user-space probes (EXPERIMENTAL)" def_bool n
depends on UPROBE_EVENT && PERF_EVENTS
default n
select PERCPU_RWSEM select PERCPU_RWSEM
help help
Uprobes is the user-space counterpart to kprobes: they Uprobes is the user-space counterpart to kprobes: they
...@@ -101,8 +99,6 @@ config UPROBES ...@@ -101,8 +99,6 @@ config UPROBES
managed by the kernel and kept transparent to the probed managed by the kernel and kept transparent to the probed
application. ) application. )
If in doubt, say "N".
config HAVE_64BIT_ALIGNED_ACCESS config HAVE_64BIT_ALIGNED_ACCESS
def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS
help help
......
...@@ -424,6 +424,7 @@ config UPROBE_EVENT ...@@ -424,6 +424,7 @@ config UPROBE_EVENT
bool "Enable uprobes-based dynamic events" bool "Enable uprobes-based dynamic events"
depends on ARCH_SUPPORTS_UPROBES depends on ARCH_SUPPORTS_UPROBES
depends on MMU depends on MMU
depends on PERF_EVENTS
select UPROBES select UPROBES
select PROBE_EVENTS select PROBE_EVENTS
select TRACING select TRACING
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册