linux/kernel/kcsan
Marco Elver 69b2c81bc8 kcsan: Simplify debugfs counter to name mapping
Simplify counter ID to name mapping by using an array with designated
inits. This way, we can turn a run-time BUG() into a compile-time static
assertion failure if a counter name is missing.

No functional change intended.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2020-08-24 15:10:21 -07:00
..
atomic.h kcsan: Remove existing special atomic rules 2020-06-29 12:04:48 -07:00
core.c kcsan: Add missing CONFIG_KCSAN_IGNORE_ATOMICS checks 2020-08-24 15:09:57 -07:00
debugfs.c kcsan: Simplify debugfs counter to name mapping 2020-08-24 15:10:21 -07:00
encoding.h kcsan: Prefer __always_inline for fast-path 2020-03-21 09:40:19 +01:00
kcsan-test.c kcsan: Test support for compound instrumentation 2020-08-24 15:09:58 -07:00
kcsan.h kcsan: Improve IRQ state trace reporting 2020-07-31 12:12:03 +02:00
Makefile kcsan: Disable branch tracing in core runtime 2020-06-29 12:04:48 -07:00
report.c kcsan: Support compounded read-write instrumentation 2020-08-24 15:09:32 -07:00
selftest.c kcsan: Rename test.c to selftest.c 2020-06-29 12:04:48 -07:00