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:46 +0300
committerSean Christopherson <seanjc@google.com>2025-02-14 18:02:11 +0300
commitea7179f99514f8119c6327d7c3b84a439a273533 (patch)
tree593760c8a17f8bcd3f25667045f11b7d919d0291 /tools/perf/scripts/python/task-analyzer.py
parente65faf71bd54ac957aed3c2e81a964fea63f3e82 (diff)
downloadlinux-ea7179f99514f8119c6327d7c3b84a439a273533.tar.xz
KVM: selftests: Get VM's binary stats FD when opening VM
Get and cache a VM's binary stats FD when the VM is opened, as opposed to waiting until the stats are first used. Opening the stats FD outside of __vm_get_stat() will allow converting it to a scope-agnostic helper. Note, this doesn't interfere with kvm_binary_stats_test's testcase that verifies a stats FD can be used after its own VM's FD is closed, as the cached FD is also closed during kvm_vm_free(). Link: https://lore.kernel.org/r/20250111005049.1247555-7-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