aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2023-07-11 23:01:27 +0000
committerPaolo Bonzini <[email protected]>2023-07-29 15:05:29 +0000
commit87d53582bc8be30a11654a45fac0a257ed830ea8 (patch)
tree5026f1ef3bdad858bcc740742f3e454584ea5e6e /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentKVM: selftests: Use pread() to read binary stats header (diff)
downloadkernel-87d53582bc8be30a11654a45fac0a257ed830ea8.tar.gz
kernel-87d53582bc8be30a11654a45fac0a257ed830ea8.zip
KVM: selftests: Clean up stats fd in common stats_test() helper
Move the stats fd cleanup code into stats_test() and drop the superfluous vm_stats_test() and vcpu_stats_test() helpers in order to decouple creation of the stats file from consuming/testing the file (deduping code is a bonus). This will make it easier to test various edge cases related to stats, e.g. that userspace can dup() a stats fd, that userspace can have multiple stats files for a singleVM/vCPU, etc. Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions