kernel_optimize_test/kernel/kcsan
Marco Elver a312013578 kcsan: Add test to generate conflicts via debugfs
Add 'test=<iters>' option to KCSAN's debugfs interface to invoke KCSAN
checks on a dummy variable. By writing 'test=<iters>' to the debugfs
file from multiple tasks, we can generate real conflicts, and trigger
data race reports.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2020-03-21 09:43:30 +01:00
..
atomic.h kcsan: Prefer __always_inline for fast-path 2020-03-21 09:40:19 +01:00
core.c kcsan: Introduce KCSAN_ACCESS_ASSERT access type 2020-03-21 09:42:50 +01:00
debugfs.c kcsan: Add test to generate conflicts via debugfs 2020-03-21 09:43:30 +01:00
encoding.h kcsan: Prefer __always_inline for fast-path 2020-03-21 09:40:19 +01:00
kcsan.h kcsan: Introduce KCSAN_ACCESS_ASSERT access type 2020-03-21 09:42:50 +01:00
Makefile kcsan, ubsan: Make KCSAN+UBSAN work together 2020-01-07 07:47:23 -08:00
report.c kcsan: Introduce KCSAN_ACCESS_ASSERT access type 2020-03-21 09:42:50 +01:00
test.c kcsan: Fix 0-sized checks 2020-03-21 09:42:42 +01:00