ftrace: add tracer called branch
authorSteven Rostedt <srostedt@redhat.com>
Wed, 12 Nov 2008 20:24:24 +0000 (15:24 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Nov 2008 21:28:25 +0000 (22:28 +0100)
commit80e5ea4506791af206266c5921c97f11d3b17866
tree847eb231f1c98377bdd600a801657a338cd1baa1
parent9f029e83e968e5661d7be045bbcb620dbb909938
ftrace: add tracer called branch

Impact: added new branch tracer

Currently the tracing of branch profiling (unlikelys and likelys hit)
is only activated by the iter_ctrl. This patch adds a tracer called
"branch" that will just trace the branch profiling. The advantage
of adding this tracer is that it can be added to the ftrace selftests
on startup.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.h
kernel/trace/trace_selftest.c
kernel/trace/trace_unlikely.c