kcsan: Make reporting aware of KCSAN tests
authorMarco Elver <elver@google.com>
Fri, 10 Apr 2020 16:44:18 +0000 (18:44 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 14 Apr 2020 00:18:16 +0000 (17:18 -0700)
commitcdb9b07d8c78be63d72aba9a2686ff161ddd2099
tree2383bfd37fc324be963fcdb297158ffb0493974f
parentf770ed10a9ee65529f3ec8d90eb374bbd8b7c238
kcsan: Make reporting aware of KCSAN tests

Reporting hides KCSAN runtime functions in the stack trace, with
filtering done based on function names. Currently this included all
functions (or modules) that would match "kcsan_". Make the filter aware
of KCSAN tests, which contain "kcsan_test", and are no longer skipped in
the report.

This is in preparation for adding a KCSAN test module.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/kcsan/report.c