aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorGayatri Kammela <[email protected]>2020-02-04 15:01:56 -0800
committerAndy Shevchenko <[email protected]>2020-02-10 17:47:38 +0200
commit4d6a63e0b99ea4ba7f718ab084ebf566b7d1585f (patch)
tree845d4e096dfbf763919127a71eb8ffe3d23d9801 /tools/perf/scripts/python/sctop.py
parentf632817d5ef369a6f433449a1b8fa26627fc40e0 (diff)
platform/x86: intel_pmc_core: Refactor the driver by removing redundant code
pmc_core_slps0_dbg_show() is responsible for displaying debug registers through slp_s0_debug_status entry. The driver uses the same but redundant code to dump these debug registers for an S0ix failure. Hence, refactor the driver by removing redundant code and reuse the same function that both dumps registers through slp_s0_debug_status entry and in resume for an S0ix failure. The changes in this patch are preparatory, so platforms that support low power sub-states can dump the debug registers when the attempt to enter low power states are unsuccessful. Cc: Srinivas Pandruvada <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: David 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/sctop.py')
0 files changed, 0 insertions, 0 deletions