diff options
author | Peter Zijlstra | 2015-05-27 11:09:37 +0930 |
---|---|---|
committer | Rusty Russell | 2015-05-28 11:32:07 +0930 |
commit | 6c9692e2d6a2206d8fd75ea247daa47fb75e4a02 (patch) | |
tree | 260a11511b3b629ec1cbcdeb3417e74590028e99 /init | |
parent | 93c2e105f6bcee231c951ba0e56e84505c4b0483 (diff) |
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')
-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 |