diff options
| author | Zhang Rui <[email protected]> | 2023-03-25 21:57:07 +0800 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2023-09-27 22:14:18 +0800 |
| commit | 137f01b3529d292a68d22e9681e2f903c768f790 (patch) | |
| tree | e40c092388720bdc735e4841c193eb3944697db5 /tools/perf/scripts/python/flamegraph.py | |
| parent | 4d1827485acecac0016eaaec199e97697afdaa84 (diff) | |
tools/power/turbostat: Fix a knl bug
MSR_KNL_CORE_C6_RESIDENCY should be evaluated only if
1. this is KNL platform
AND
2. need to get C6 residency or need to calculate C1 residency
Fix the broken logic introduced by commit 1e9042b9c8d4 ("tools/power
turbostat: Fix CPU%C1 display value").
Fixes: 1e9042b9c8d4 ("tools/power turbostat: Fix CPU%C1 display value")
Signed-off-by: Zhang Rui <[email protected]>
Reviewed-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions