Skip to content

Commit

Permalink
uprobes: Kconfig dependency fix
Browse files Browse the repository at this point in the history
Suggested change from Oleg Nesterov. Fixes incomplete dependencies
for uprobes feature.

Signed-off-by: David A. Long <[email protected]>
Acked-by: Oleg Nesterov <[email protected]>
  • Loading branch information
David A. Long committed Mar 18, 2014
1 parent 0414855 commit 09294e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions arch/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ config KPROBES_ON_FTRACE
optimize on top of function tracing.

config UPROBES
bool "Transparent user-space probes (EXPERIMENTAL)"
depends on UPROBE_EVENT && PERF_EVENTS
default n
def_bool n
select PERCPU_RWSEM
help
Uprobes is the user-space counterpart to kprobes: they
Expand All @@ -101,8 +99,6 @@ config UPROBES
managed by the kernel and kept transparent to the probed
application. )

If in doubt, say "N".

config HAVE_64BIT_ALIGNED_ACCESS
def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS
help
Expand Down
1 change: 1 addition & 0 deletions kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ config UPROBE_EVENT
bool "Enable uprobes-based dynamic events"
depends on ARCH_SUPPORTS_UPROBES
depends on MMU
depends on PERF_EVENTS
select UPROBES
select PROBE_EVENTS
select TRACING
Expand Down

0 comments on commit 09294e3

Please sign in to comment.