diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-12-11 22:37:54 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-01-22 11:08:56 +0100 |
commit | 2f0df49c89acaa58571d509830bc481250699885 (patch) | |
tree | 828a30d85916fdf4a99202b3e89d37416d8684c1 /kernel/locking/Makefile | |
parent | locking: Add Reviewers (diff) | |
download | linux-2f0df49c89acaa58571d509830bc481250699885.tar.xz linux-2f0df49c89acaa58571d509830bc481250699885.zip |
jump_label: Do not profile branch annotations
While running my branch profiler that checks for incorrect "likely" and
"unlikely"s around the kernel, there's a large number of them that are
incorrect due to being "static_branches".
As static_branches are rather special, as they are likely or unlikely for
other reasons than normal annotations are used for, there's no reason to
have them be profiled.
Expose the "unlikely_notrace" and "likely_notrace" so that the
static_branch can use them, and have them be ignored by the branch
profilers.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201211163754.585174b9@gandalf.local.home
Diffstat (limited to 'kernel/locking/Makefile')
0 files changed, 0 insertions, 0 deletions