aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-01-11 00:50:44 +0000
committerSean Christopherson <[email protected]>2025-02-14 15:01:55 +0000
commitb0c3f5df92913de6b9936cb0707cf1c8cdad66a2 (patch)
tree54a583c74fd06f674dcc988769c111dd22af94a7 /tools/testing/selftests/net/lib/py/utils.py
parentKVM: selftests: Assert that __vm_get_stat() actually finds a stat (diff)
downloadkernel-b0c3f5df92913de6b9936cb0707cf1c8cdad66a2.tar.gz
kernel-b0c3f5df92913de6b9936cb0707cf1c8cdad66a2.zip
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/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions