lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/4] trace: profiling branches
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(-)


\
 
 \ /
  Last update: 2008-11-21 08:17    [W:0.093 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site