diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-05-27 03:39:37 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-05-28 04:02:07 +0200 |
commit | 6c9692e2d6a2206d8fd75ea247daa47fb75e4a02 (patch) | |
tree | 260a11511b3b629ec1cbcdeb3417e74590028e99 /init/Kconfig | |
parent | module: Optimize __module_address() using a latched RB-tree (diff) | |
download | linux-6c9692e2d6a2206d8fd75ea247daa47fb75e4a02.tar.xz linux-6c9692e2d6a2206d8fd75ea247daa47fb75e4a02.zip |
module: Make the mod_tree stuff conditional on PERF_EVENTS || TRACING
Andrew worried about the overhead on small systems; only use the fancy
code when either perf or tracing is enabled.
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Requested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index dc24dec60232..968a001790af 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1989,6 +1989,10 @@ endchoice endif # MODULES +config MODULES_TREE_LOOKUP + def_bool y + depends on PERF_EVENTS || TRACING + config INIT_ALL_POSSIBLE bool help |