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:41 +0000
committerHans de Goede <[email protected]>2021-09-14 12:26:03 +0200
commit25be44f6e2fc9dd117ba6e18fa58317a2015af17 (patch)
tree1ea858c2468826a59ac56eac550b2497da1e89f7 /tools/perf/scripts/python/intel-pt-events.py
parent51142a0886bd34ec3c6e478739484a85b3b81cec (diff)
platform/x86: wmi: introduce helper to retrieve event data
Previously, `acpi_wmi_notify_handler()` and `wmi_get_event_data()` shared more or less the exact same code to query the data for a particular event. Introduce a function to get rid of the duplication, and use it from `acpi_wmi_notify_handler()` and `wmi_get_event_data()`. 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