diff options
author | Andrey Ryabinin <[email protected]> | 2016-04-28 16:18:55 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-04-28 19:34:04 -0700 |
commit | 36f05ae8bce904b4c8105363e6227a79d343bda6 (patch) | |
tree | 16cc0a209bdf9df6a69e8d2de0776b3d9b1998b2 /lib/cpu-notifier-error-inject.c | |
parent | bdab42dfc974d15303afbf259f340f374a453974 (diff) |
kcov: don't profile branches in kcov
Profiling 'if' statements in __sanitizer_cov_trace_pc() leads to
unbound recursion and crash:
__sanitizer_cov_trace_pc() ->
ftrace_likely_update ->
__sanitizer_cov_trace_pc() ...
Define DISABLE_BRANCH_PROFILING to disable this tracer.
Signed-off-by: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions