trace: profiling branches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | trace: remove extra assign in branch checkinclude/ | +0 | 0 replies | |
| 2/4 | trace: consolidate unlikely and likely profilerinclude/ include/ kernel/ +1 more | +22 | 0 replies | |
| 3/4 | trace: branch profiling should not print percent without datakernel/ | +7 | 0 replies | |
| 4/4 | trace: profile all if conditionalsinclude/ include/ kernel/ +1 more | +93 | 11 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)