Commit ef0e600
committed
tools/power turbostat: Fix AMD RAPL regression
turbostat.c:8688: rapl_perf_init: Assertion `next_domain < num_domains' failed.
Two recent cleanup patches that were not supposed to change anything
broke the core_id code needed for AMD RAPL initialization:
commit 070e923 ("tools/power turbostat: Enhance HT enumeration")
commit ddf60e3 ("tools/power turbostat: Simplify global core_id calculation")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>1 parent 5149609 commit ef0e600
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5164 | 5164 | | |
5165 | 5165 | | |
5166 | 5166 | | |
5167 | | - | |
| 5167 | + | |
5168 | 5168 | | |
5169 | 5169 | | |
5170 | 5170 | | |
| |||
9633 | 9633 | | |
9634 | 9634 | | |
9635 | 9635 | | |
9636 | | - | |
9637 | 9636 | | |
9638 | 9637 | | |
9639 | 9638 | | |
| |||
0 commit comments