tracing: change branch profiling to a choice selection
authorSteven Rostedt <srostedt@redhat.com>
Mon, 20 Apr 2009 14:27:58 +0000 (10:27 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 20 Apr 2009 15:07:48 +0000 (11:07 -0400)
commit9ae5b8790037d05d32746f521af146c32089bfec
tree29b0ef5bc534490fa8a25a906d41b8d44ebcfe48
parentf3b9aae16219aaeca2dd5a9ca69f7a10faa063df
tracing: change branch profiling to a choice selection

This patch makes the branch profiling into a choice selection:

  None               - no branch profiling
  likely/unlikely    - only profile likely/unlikely branches
  all                - profile all branches

The all profiler will also enable the likely/unlikely branches.

This does not change the way the profiler works or the dependencies
between the profilers.

What this patch does, is keep the branch profiling from being selected
by an allyesconfig make. The branch profiler is very intrusive and
it is known to break various architecture builds when selected as an
allyesconfig.

[ Impact: prevent branch profiler from being selected in allyesconfig ]

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/Kconfig