]> 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)
commit16a82573873897f835bbd008d0311c2c72c0e812
treeab243386f95697f056b6473ca820c0e616a0e6f5
parent2e61f9b221f67c1c2009a8a20d74150ab965b44d
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