]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit068f530b3f274d313395663bf8d674798d4858c6
treeab243386f95697f056b6473ca820c0e616a0e6f5
parent134e6a034cb004ed5acd3048792de70ced1c6cf5
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