aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-07-11 16:01:26 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2023-07-29 11:05:28 -0400
commit625646aede90554fed8d46fd0e081238e071ac5e (patch)
tree53f583f6e0648242005678c531de2efb7c24673e /scripts/gdb/linux/lists.py
parenteed3013faa401aae662398709410a59bb0646e32 (diff)
KVM: selftests: Use pread() to read binary stats header
Use pread() with an explicit offset when reading the header and the header name for a binary stats fd so that the common helper and the binary stats test don't subtly rely on the file effectively being untouched, e.g. to allow multiple reads of the header, name, etc. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20230711230131.648752-3-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions