aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-05-02 00:07:32 +0200
committerPaolo Bonzini <[email protected]>2022-06-08 04:46:58 -0400
commit21d4c575eb4a1e6d956b61b5e9c162895fa7d4ba (patch)
treef03336160ac0dc0243a9b69b8e9cca08f82656ca /tools/perf/scripts/python/libxed.py
parenta61d7c5432ac5a953bbcec17af031661c2bd201d (diff)
KVM: x86: Print error code in exception injection tracepoint iff valid
Print the error code in the exception injection tracepoint if and only if the exception has an error code. Define the entire error code sequence as a set of formatted strings, print empty strings if there's no error code, and abuse __print_symbolic() by passing it an empty array to coerce it into printing the error code as a hex string. Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Maxim Levitsky <[email protected]> Signed-off-by: Maciej S. Szmigiero <[email protected]> Message-Id: <e8f0511733ed2a0410cbee8a0a7388eac2ee5bac.1651440202.git.maciej.szmigiero@oracle.com> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions