aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorChen Yu <[email protected]>2021-04-28 02:51:57 +0000
committerLen Brown <[email protected]>2021-05-04 23:09:00 +0000
commit8c69da293041352d15a2b6e8010c141822a416c5 (patch)
tree706505f8c5f4ff450297073735073966161b660e /tools/perf/scripts/python/syscall-counts.py
parenttools/power turbostat: unmark non-kernel-doc comment (diff)
downloadkernel-8c69da293041352d15a2b6e8010c141822a416c5.tar.gz
kernel-8c69da293041352d15a2b6e8010c141822a416c5.zip
tools/power turbostat: Enable tsc_tweak for Elkhart Lake and Jasper Lake
It was found that on Elkhart Lake the TSC frequency is driven by a separate crystal-clock domain, which is different from the BCLK domain which includes mperf. This has result in small different speed thus inconsistence between TSC and the mperf, which caused the Busy% to be higher than 100%. On this platform it seems that the mperf runs faster than tsc when the CPU is 100% utilized: delta tsc(18815473183) < delta mperf(18958403680) for 10 seconds. To align TSC with mperf, leverage the tsc_tweak mechanism introduced for cores newer than Skylake, so that TSC and mperf would be calculated in the same domain. Reported-by: Zhang Rui <[email protected]> Signed-off-by: Chen Yu <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions