summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-09-03 17:24:21 -0700
committerSean Christopherson <seanjc@google.com>2026-09-11 09:35:40 -0700
commit68b94d08f9dcff3954c4f5baa7f2c5faa828b625 (patch)
treee522d1ba7885208f9c23e1c4a41a385dd021ac8d /tools/perf/scripts/python/stackcollapse.py
parent5adf7087cfd280970beeb2b8b46393787003ea51 (diff)
KVM: selftests: Add __vmwrite() and use it when initializing optional fields.
Add __vmwrite() in anticipation of having vmwrite() assert success, and use the "failure allowed" version in the common VMCS setup code, which is the only code that wants to write fields that may or may not exist (although arguably the code should check if the field exists instead of blindly writing). E.g. When doing initial configuration of a VMCS, the core library doesn't want to assume secondary controls are supported, and so blindly does a VMWRITE and pivots on success/failure. All usage of vmwrite() outside of common setup already asserts success, or 100% relies on VMWRITE succeeding in order for the test to function correctly. No functional change intended. Link: https://patch.msgid.link/20260904002423.3154436-16-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions