Files
linux/kernel
Andrey Ryabinin f82dbb707f 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 36f05ae8bc)
Change-Id: I53cea027ba86b89016df3944374bdb119a2ca9dd
Signed-off-by: Paul Lawrence <paullawrence@google.com>
2017-12-18 09:41:57 -08:00
..
2017-12-18 10:49:53 +01:00
2017-10-22 08:09:11 +02:00
2017-09-02 07:06:51 +02:00
2017-10-12 12:05:45 +02:00
2017-12-18 10:49:53 +01:00
2015-11-04 08:23:51 -05:00
2017-01-17 12:44:14 -08:00
2017-10-12 12:05:45 +02:00
2015-11-23 09:44:58 +01:00
2017-05-20 14:27:02 +02:00
2017-07-05 14:37:19 +02:00
2017-08-24 17:02:36 -07:00
2015-11-05 19:34:48 -08:00
2016-08-01 15:57:55 -07:00
2017-11-07 23:57:47 +00:00