Messages in this thread | | | Date | Fri, 21 Nov 2008 02:12:13 -0500 | From | Steven Rostedt <> | 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(-)
| |