summaryrefslogtreecommitdiff
path: root/kernel/debug
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-07-31 10:17:19 +0200
committerPaul E. McKenney <paulmck@kernel.org>2020-08-24 15:10:21 -0700
commit69b2c81bc894606670204f0ae08f406dbcce836d (patch)
tree5fc086ec7445d1b934c95195f5ca9e1bee64b264 /kernel/debug
parent3570a1bcf45e9a7ddf9ba0e8d6d57cc67675cfef (diff)
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>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions