aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2021-09-04 17:56:35 +0000
committerHans de Goede <hdegoede@redhat.com>2021-09-14 12:26:02 +0200
commit57f2ce89211383947cdf93502ad53cf0d18b65fe (patch)
tree998688cb3226db4b0cfdd9594fa6b2e4b9965b46 /tools/perf/scripts/python/export-to-postgresql.py
parentplatform/x86: wmi: introduce helper to convert driver to WMI driver (diff)
downloadlinux-57f2ce89211383947cdf93502ad53cf0d18b65fe.tar.gz
linux-57f2ce89211383947cdf93502ad53cf0d18b65fe.zip
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 <pobrn@protonmail.com> Link: https://lore.kernel.org/r/20210904175450.156801-28-pobrn@protonmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions