diff options
author | Sean Christopherson <seanjc@google.com> | 2024-12-10 17:32:59 -0800 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-02-12 10:16:30 -0800 |
commit | aa93b6f96f6486fa1a78b7b92ebe43f49f35d8bf (patch) | |
tree | b710255189123cdeed266ad90b5c1c562bdb4eed /tools/perf/scripts/python/task-analyzer.py | |
parent | a11128ce16366d455a6f937e2a2d1aa2a8b2bd45 (diff) |
KVM: x86: Use for-loop to iterate over XSTATE size entries
Rework xstate_required_size() to use a for-loop and continue, to make it
more obvious that the xstate_sizes[] lookups are indeed correctly bounded,
and to make it (hopefully) easier to understand that the loop is iterating
over supported XSAVE features.
Link: https://lore.kernel.org/r/20241211013302.1347853-3-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