aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGayatri Kammela <[email protected]>2020-03-03 13:28:08 -0800
committerAndy Shevchenko <[email protected]>2020-03-20 14:47:01 +0200
commit267fc714cab797574a3a9df2074f05c3cdeb2511 (patch)
tree12f82a012c4631130336e31c9e1e565a992c9c44 /tools/perf/scripts/python/export-to-sqlite.py
parent9945a2479893682bee8ae46e2ce5f180d4f6b1b2 (diff)
platform/x86: intel_pmc_core: Make pmc_core_lpm_display() generic for platforms that support sub-states
Currently pmc_core_lpm_display() uses an array of the struct pointers, i.e. tgl_lpm_maps for Tiger Lake directly to iterate through and to get the number of (live) status registers which is hard coded and can not be re-used for the future platforms that support sub-states. To maintain readability, make pmc_core_lpm_display() generic, so that it can be re-used for future platforms. Cc: Chen Zhou <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: David E. Box <[email protected]> Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Gayatri Kammela <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions