public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] trace: profiling branches
@ 2008-11-21  7:12 Steven Rostedt
  2008-11-21  7:12 ` [PATCH 1/4] trace: remove extra assign in branch check Steven Rostedt
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Steven Rostedt @ 2008-11-21  7:12 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ingo Molnar, Andrew Morton, Thomas Gleixner, Peter Zijlstra,
	Theodore Tso, Arjan van de Ven

Ingo,

The following patches clean up the unlikely/likely tracer. Namely
it consolidates it into a single file called "profile_annotated_branch".

It also adds a new profiler. A true branch profiler that profiles all
if() statements where the conditional is not a constant. It puts 
a bit of overhead on the system, but the results seem pretty interesting.
The results are placed in "profile_branch".

Anyway, enjoy ;-)

The following patches are in:

  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git

    branch: tip/devel


Steven Rostedt (4):
      trace: remove extra assign in branch check
      trace: consolidate unlikely and likely profiler
      trace: branch profiling should not print percent without data
      trace: profile all if conditionals

----
 include/asm-generic/vmlinux.lds.h |   20 +++++++----
 include/linux/compiler.h          |   64 +++++++++++++++++++++------------
 kernel/trace/Kconfig              |   19 +++++++++-
 kernel/trace/trace_branch.c       |   72 +++++++++++++++++++++++-------------
 4 files changed, 117 insertions(+), 58 deletions(-)

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-11-30 15:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21  7:12 [PATCH 0/4] trace: profiling branches Steven Rostedt
2008-11-21  7:12 ` [PATCH 1/4] trace: remove extra assign in branch check Steven Rostedt
2008-11-21  7:12 ` [PATCH 2/4] trace: consolidate unlikely and likely profiler Steven Rostedt
2008-11-21  7:12 ` [PATCH 3/4] trace: branch profiling should not print percent without data Steven Rostedt
2008-11-21  7:12 ` [PATCH 4/4] trace: profile all if conditionals Steven Rostedt
2008-11-21 23:20   ` Andrew Morton
2008-11-21 23:33     ` Steven Rostedt
2008-11-23 12:37       ` Ingo Molnar
2008-11-23 15:48   ` Ingo Molnar
2008-11-23 16:07     ` [PATCH] net/wireless/reg.c: fix Ingo Molnar
2008-11-23 19:43   ` [PATCH 4/4] trace: profile all if conditionals Andi Kleen
2008-11-23 19:56     ` Steven Rostedt
2008-11-23 20:24       ` Andi Kleen
2008-11-23 20:32         ` Steven Rostedt
2008-11-23 20:51           ` Andi Kleen
2008-11-23 21:38       ` Ingo Molnar
2008-11-30 10:58 ` [PATCH 0/4] trace: profiling branches Daniel Walker
2008-11-30 15:19   ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox