diff options
author | 2020-07-31 10:17:19 +0200 | |
---|---|---|
committer | 2020-08-24 15:10:21 -0700 | |
commit | 69b2c81bc894606670204f0ae08f406dbcce836d (patch) | |
tree | 5fc086ec7445d1b934c95195f5ca9e1bee64b264 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | locking/atomics: Use read-write instrumentation for atomic RMWs (diff) | |
download | wireguard-linux-69b2c81bc894606670204f0ae08f406dbcce836d.tar.xz wireguard-linux-69b2c81bc894606670204f0ae08f406dbcce836d.zip |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions