diff options
author | Sean Christopherson <seanjc@google.com> | 2025-01-11 03:50:44 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-14 18:01:55 +0300 |
commit | b0c3f5df92913de6b9936cb0707cf1c8cdad66a2 (patch) | |
tree | 54a583c74fd06f674dcc988769c111dd22af94a7 /tools/perf/scripts/python/task-analyzer.py | |
parent | eead13d493af0c2d3b8025da4acb2a9ef854a26a (diff) | |
download | linux-b0c3f5df92913de6b9936cb0707cf1c8cdad66a2.tar.xz |
KVM: selftests: Macrofy vm_get_stat() to auto-generate stat name string
Turn vm_get_stat() into a macro that generates a string for the stat name,
as opposed to taking a string. This will allow hardening stat usage in
the future to generate errors on unknown stats at compile time.
No functional change intended.
Link: https://lore.kernel.org/r/20250111005049.1247555-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions