diff options
author | Vegard Nossum <[email protected]> | 2016-05-21 17:46:10 +0200 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2016-08-04 00:18:06 +0200 |
commit | 915eed20e40f4dcb142cb29a3de6f6ba67f4bb5a (patch) | |
tree | dc606eee62b4f6ed16b456450c4cc3523aab719f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 8e99bc70468dcc42a756ca4b100e2fb2c30c4c89 (diff) |
um: Support kcov
This adds support for kcov to UML.
There is a small problem where UML will randomly segfault during boot;
this is because current_thread_info() occasionally returns an invalid
(non-NULL) pointer and we try to dereference it in
__sanitizer_cov_trace_pc(). I consider this a bug in UML itself and this
patch merely exposes it.
[v2: disable instrumentation in UML-specific code]
Cc: Quentin Casasnovas <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Thomas Meyer <[email protected]>
Cc: user-mode-linux-devel <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions