* [patch] trace: fix branch profiling location in debugfs
@ 2011-03-17 0:17 David Rientjes
2011-03-17 11:04 ` [tip:perf/urgent] trace, documentation: Fix " tip-bot for David Rientjes
0 siblings, 1 reply; 3+ messages in thread
From: David Rientjes @ 2011-03-17 0:17 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Steven Rostedt, linux-kernel
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.
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: David Rientjes <rientjes@google.com>
---
kernel/trace/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -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.
@@ -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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:perf/urgent] trace, documentation: Fix branch profiling location in debugfs
2011-03-17 0:17 [patch] trace: fix branch profiling location in debugfs David Rientjes
@ 2011-03-17 11:04 ` tip-bot for David Rientjes
2011-03-17 14:30 ` Steven Rostedt
0 siblings, 1 reply; 3+ messages in thread
From: tip-bot for David Rientjes @ 2011-03-17 11:04 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, rostedt, tglx, rientjes, mingo
Commit-ID: 13e5befaddcf8d542ae45610b552105490a0010b
Gitweb: http://git.kernel.org/tip/13e5befaddcf8d542ae45610b552105490a0010b
Author: David Rientjes <rientjes@google.com>
AuthorDate: Wed, 16 Mar 2011 17:17:08 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Thu, 17 Mar 2011 09:10:45 +0100
trace, documentation: Fix branch profiling location in debugfs
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>
---
kernel/trace/Kconfig | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 14674dc..61d7d59f 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -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.
@@ -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.
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [tip:perf/urgent] trace, documentation: Fix branch profiling location in debugfs
2011-03-17 11:04 ` [tip:perf/urgent] trace, documentation: Fix " tip-bot for David Rientjes
@ 2011-03-17 14:30 ` Steven Rostedt
0 siblings, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2011-03-17 14:30 UTC (permalink / raw)
To: mingo, hpa, linux-kernel, tglx, rientjes, mingo; +Cc: linux-tip-commits
On Thu, 2011-03-17 at 11:04 +0000, tip-bot for David Rientjes wrote:
> Commit-ID: 13e5befaddcf8d542ae45610b552105490a0010b
> Gitweb: http://git.kernel.org/tip/13e5befaddcf8d542ae45610b552105490a0010b
> Author: David Rientjes <rientjes@google.com>
> AuthorDate: Wed, 16 Mar 2011 17:17:08 -0700
> Committer: Ingo Molnar <mingo@elte.hu>
> CommitDate: Thu, 17 Mar 2011 09:10:45 +0100
Heh, I added this on top of the jump label patches that I'm testing.
I'll just remove it ;)
-- Steve
>
> trace, documentation: Fix branch profiling location in debugfs
>
> 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>
> ---
> kernel/trace/Kconfig | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
> index 14674dc..61d7d59f 100644
> --- a/kernel/trace/Kconfig
> +++ b/kernel/trace/Kconfig
> @@ -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.
> @@ -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.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-17 14:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17 0:17 [patch] trace: fix branch profiling location in debugfs David Rientjes
2011-03-17 11:04 ` [tip:perf/urgent] trace, documentation: Fix " tip-bot for David Rientjes
2011-03-17 14:30 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox