summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorGayatri Kammela <gayatri.kammela@intel.com>2020-03-03 13:28:08 -0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-20 14:47:01 +0200
commit267fc714cab797574a3a9df2074f05c3cdeb2511 (patch)
tree12f82a012c4631130336e31c9e1e565a992c9c44 /tools/perf/scripts/python/event_analyzing_sample.py
parent9945a2479893682bee8ae46e2ce5f180d4f6b1b2 (diff)
downloadkernel-267fc714cab797574a3a9df2074f05c3cdeb2511.tar.gz
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 <chenzhou10@huawei.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: David E. Box <david.e.box@intel.com> Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
/td>XArray: Change xa_for_each iteratorMatthew Wilcox 2019-01-06XArray: Turn xa_init_flags into a static inlineMatthew Wilcox 2018-12-06XArray: Add xa_cmpxchg_irq and xa_cmpxchg_bhMatthew Wilcox 2018-11-05XArray: Fix DocumentationMatthew Wilcox 2018-11-05XArray: Add xa_store_bh() and xa_store_irq()Matthew Wilcox 2018-11-05XArray: Turn xa_erase into an exported functionMatthew Wilcox 2018-11-05XArray: Unify xa_cmpxchg and __xa_cmpxchgMatthew Wilcox 2018-11-05XArray: Regularise xa_reserveMatthew Wilcox 2018-10-21xarray: Add range store functionalityMatthew Wilcox 2018-10-21xarray: Track free entries in an XArrayMatthew Wilcox 2018-10-21xarray: Add xa_reserve and xa_releaseMatthew Wilcox 2018-10-21xarray: Add xas_create_rangeMatthew Wilcox 2018-10-21xarray: Add xas_for_each_conflictMatthew Wilcox 2018-10-21xarray: Step through an XArrayMatthew Wilcox 2018-10-21xarray: Destroy an XArrayMatthew Wilcox 2018-10-21xarray: Extract entries from an XArrayMatthew Wilcox 2018-10-21xarray: Add XArray iteratorsMatthew Wilcox 2018-10-21xarray: Add XArray conditional store operationsMatthew Wilcox 2018-10-21xarray: Add XArray unconditional store operationsMatthew Wilcox 2018-10-21xarray: Add XArray marksMatthew Wilcox 2018-10-21xarray: Add XArray load operationMatthew Wilcox 2018-10-21xarray: Define struct xa_nodeMatthew Wilcox 2018-10-21xarray: Add definition of struct xarrayMatthew Wilcox 2018-09-29xarray: Change definition of sibling entriesMatthew Wilcox 2018-09-29xarray: Replace exceptional entriesMatthew Wilcox 2018-09-29Update email addressMatthew Wilcox 2018-04-11xarray: add the xa_lock to the radix_tree_rootMatthew Wilcox