diff options
| author | Andrey Ryabinin <aryabinin@virtuozzo.com> | 2016-04-28 16:18:55 -0700 |
|---|---|---|
| committer | Paul Lawrence <paullawrence@google.com> | 2017-12-18 09:41:57 -0800 |
| commit | f82dbb707f3dcc992acf162af2c9e245a7f151a9 (patch) | |
| tree | 0c5c68d24886f735c89d888d6b0ea8d703c056c1 /lib/mpi/mpi-internal.h | |
| parent | 94fe28dd4dd394b07e3d02ecf32da9a0e7f4cd84 (diff) | |
UPSTREAM: 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 <aryabinin@virtuozzo.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Bug: 64145065
(cherry-picked from 36f05ae8bce904b4c8105363e6227a79d343bda6)
Change-Id: I53cea027ba86b89016df3944374bdb119a2ca9dd
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
