summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorMelody Wang <huibo.wang@amd.com>2025-02-26 00:39:37 +0300
committerSean Christopherson <seanjc@google.com>2025-02-26 03:30:00 +0300
commitc3392d0ab714d812009b686666cc5e9ef8c6a432 (patch)
treea3c42954cc382cba93d424b627e880200a0822de /tools/perf/scripts/python/gecko.py
parentea4c2f2f5ed3e218c8c0d8facfa14d6da73b5cd8 (diff)
downloadlinux-c3392d0ab714d812009b686666cc5e9ef8c6a432.tar.xz
KVM: SVM: Provide helpers to set the error code
Provide helpers to set the error code when converting VMGEXIT SW_EXITINFO1 and SW_EXITINFO2 codes from plain numbers to proper defines. Add comments for better code readability. No functionality changed. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Melody Wang <huibo.wang@amd.com> Link: https://lore.kernel.org/r/20250225213937.2471419-3-huibo.wang@amd.com [sean: tweak comments, fix formatting goofs] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions