aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBarnabás Pőcze <[email protected]>2021-09-04 17:56:29 +0000
committerHans de Goede <[email protected]>2021-09-14 12:26:02 +0200
commit736b48aae5e83b5fab16fc9f31354d2cf863aa79 (patch)
treef11a4e7c1543a07586442f991d1b0c4bc121e9ce /tools/perf/scripts/python/intel-pt-events.py
parent1975718c488a39128f1f515b23ae61a5a214cc3d (diff)
platform/x86: wmi: simplify error handling logic
The current code carries out the following ACPI status mapping: AE_NOT_FOUND -> AE_OK AE_OK -> AE_OK AE_$X -> AE_$X That is, everything is mapped to itself, except AE_NOT_FOUND. The current code does not do it in the most straighforward way. Simplify the logic. Signed-off-by: Barnabás Pőcze <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions