aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid E. Box <[email protected]>2021-04-16 20:12:44 -0700
committerHans de Goede <[email protected]>2021-04-19 10:41:24 +0200
commitc9f86d6ca6b5e23d30d16ade4b9fff5b922a610a (patch)
tree70b9ebcaae185951c55c97678c09e013ae4434a6 /tools/perf/scripts/python/export-to-postgresql.py
parent823b31517ad3196324322804ee365d5fcff704d6 (diff)
platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
The DMI callbacks, used for quirks, currently access the PMC by getting the address a global pmc_dev struct. Instead, have the callbacks set a global quirk specific variable. In probe, after calling dmi_check_system(), pass pmc_dev to a function that will handle each quirk if its variable condition is met. This allows removing the global pmc_dev later. Signed-off-by: David E. Box <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Reviewed-by: Rajneesh Bhardwaj <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions