]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add the constant count for branch tracer
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 19 Jan 2017 13:57:41 +0000 (08:57 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 19 Jan 2017 13:57:41 +0000 (08:57 -0500)
commitabe965c2fcca8791c1acbc2ac113e3e5ce615ff4
treeab243386f95697f056b6473ca820c0e616a0e6f5
parent0e65a61d9833aa52b1808b230520116ea97ac5e5
tracing: Add the constant count for branch tracer

The unlikely/likely branch profiler now gets called even if the if statement
is a constant (always goes in one direction without a compare). Add a value
to denote this in the likely/unlikely tracer as well.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_branch.c
kernel/trace/trace_entries.h