diff options
author | Barnabás Pőcze <[email protected]> | 2021-09-04 17:56:35 +0000 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2021-09-14 12:26:02 +0200 |
commit | 57f2ce89211383947cdf93502ad53cf0d18b65fe (patch) | |
tree | 998688cb3226db4b0cfdd9594fa6b2e4b9965b46 /tools/perf/scripts/python/intel-pt-events.py | |
parent | e7b2e33449e22fdbaa0247d96f31543affe6163d (diff) |
platform/x86: wmi: introduce helper to generate method names
Instead of "manually" constructing the ACPI method name and
hard-coding sizes in WMI functions, introduce a helper method
which generates the method name for an arbitrary WMI block.
Furthermore, save the appropriate buffer size into a macro.
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