summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-01-11 03:50:45 +0300
committerSean Christopherson <seanjc@google.com>2025-02-14 18:02:09 +0300
commite65faf71bd54ac957aed3c2e81a964fea63f3e82 (patch)
treefc73eefd030e0bb1b9ab08651619a6f199d91064 /tools/perf/scripts/python/task-analyzer.py
parentb0c3f5df92913de6b9936cb0707cf1c8cdad66a2 (diff)
downloadlinux-e65faf71bd54ac957aed3c2e81a964fea63f3e82.tar.xz
KVM: selftests: Add struct and helpers to wrap binary stats cache
Add a struct and helpers to manage the binary stats cache, which is currently used only for VM-scoped stats. This will allow expanding the selftests infrastructure to provide support for vCPU-scoped binary stats, which, except for the ioctl to get the stats FD are identical to VM-scoped stats. Defer converting __vm_get_stat() to a scope-agnostic helper to a future patch, as getting the stats FD from KVM needs to be moved elsewhere before it can be made completely scope-agnostic. Link: https://lore.kernel.org/r/20250111005049.1247555-6-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