Commit c5120a3
tools/power turbostat: Fix unc freq columns not showing with '-q' or '-l'
Commit 78464d7 ("tools/power turbostat: Add columns for clustered
uncore frequency") introduced 'probe_intel_uncore_frequency_cluster()'
in a way which prevents printing uncore frequency columns if either of
the '-q' or '-l' options are used. Systems which do not have multiple
uncore frequencies per package are unaffected by this regression.
Fix the function so that uncore frequency columns are shown when either
the '-l' or '-q' option is used by checking if 'quiet' is true after
adding counters for the uncore frequency columns.
Fixes: 78464d7 ("tools/power turbostat: Add columns for clustered uncore frequency")
Signed-off-by: Adam Hawley <[email protected]>
Signed-off-by: Len Brown <[email protected]>1 parent ebb5b26 commit c5120a3
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5695 | 5695 | | |
5696 | 5696 | | |
5697 | 5697 | | |
5698 | | - | |
5699 | | - | |
5700 | | - | |
5701 | 5698 | | |
5702 | 5699 | | |
5703 | 5700 | | |
| |||
5727 | 5724 | | |
5728 | 5725 | | |
5729 | 5726 | | |
| 5727 | + | |
| 5728 | + | |
| 5729 | + | |
| 5730 | + | |
| 5731 | + | |
| 5732 | + | |
| 5733 | + | |
| 5734 | + | |
5730 | 5735 | | |
5731 | 5736 | | |
5732 | 5737 | | |
| |||
5743 | 5748 | | |
5744 | 5749 | | |
5745 | 5750 | | |
5746 | | - | |
5747 | | - | |
5748 | | - | |
5749 | | - | |
5750 | | - | |
5751 | 5751 | | |
5752 | 5752 | | |
5753 | 5753 | | |
| |||
0 commit comments