Skip to content

Commit

Permalink
trace, documentation: Fix branch profiling location in debugfs
Browse files Browse the repository at this point in the history
The debugfs interface for branch profiling is through

	/sys/kernel/debug/tracing/trace_stat/branch_annotated
	/sys/kernel/debug/tracing/trace_stat/branch_all

so update the Kconfig accordingly.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <alpine.DEB.2.00.1103161716320.11407@chino.kir.corp.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
David Rientjes authored and Ingo Molnar committed Mar 17, 2011
1 parent 38b435b commit 13e5bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/trace/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ config PROFILE_ANNOTATED_BRANCHES
This tracer profiles all the the likely and unlikely macros
in the kernel. It will display the results in:

/sys/kernel/debug/tracing/profile_annotated_branch
/sys/kernel/debug/tracing/trace_stat/branch_annotated

Note: this will add a significant overhead; only turn this
on if you need to profile the system's use of these macros.
Expand All @@ -288,7 +288,7 @@ config PROFILE_ALL_BRANCHES
taken in the kernel is recorded whether it hit or miss.
The results will be displayed in:

/sys/kernel/debug/tracing/profile_branch
/sys/kernel/debug/tracing/trace_stat/branch_all

This option also enables the likely/unlikely profiler.

Expand Down

0 comments on commit 13e5bef

Please sign in to comment.