Commit 5612b2c
committed
tools/power/turbostat: Relocate more probing related code
Relocate more feature probing code outside of process_cpuids() into the
corresponding probing functions.
This improves the readability of code and the turbostat output.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>1 parent ce7a32c commit 5612b2c
1 file changed
Lines changed: 17 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5023 | 5023 | | |
5024 | 5024 | | |
5025 | 5025 | | |
| 5026 | + | |
| 5027 | + | |
| 5028 | + | |
| 5029 | + | |
| 5030 | + | |
5026 | 5031 | | |
5027 | 5032 | | |
5028 | 5033 | | |
| |||
5173 | 5178 | | |
5174 | 5179 | | |
5175 | 5180 | | |
| 5181 | + | |
| 5182 | + | |
| 5183 | + | |
| 5184 | + | |
| 5185 | + | |
| 5186 | + | |
| 5187 | + | |
5176 | 5188 | | |
5177 | 5189 | | |
5178 | 5190 | | |
| |||
5380 | 5392 | | |
5381 | 5393 | | |
5382 | 5394 | | |
| 5395 | + | |
5383 | 5396 | | |
5384 | 5397 | | |
5385 | 5398 | | |
| |||
5413 | 5426 | | |
5414 | 5427 | | |
5415 | 5428 | | |
| 5429 | + | |
| 5430 | + | |
| 5431 | + | |
| 5432 | + | |
5416 | 5433 | | |
5417 | 5434 | | |
5418 | 5435 | | |
| |||
5897 | 5914 | | |
5898 | 5915 | | |
5899 | 5916 | | |
5900 | | - | |
5901 | | - | |
5902 | | - | |
5903 | | - | |
5904 | | - | |
5905 | | - | |
5906 | | - | |
5907 | | - | |
5908 | | - | |
5909 | | - | |
5910 | | - | |
5911 | | - | |
5912 | | - | |
5913 | | - | |
5914 | 5917 | | |
5915 | 5918 | | |
5916 | 5919 | | |
5917 | | - | |
5918 | | - | |
5919 | | - | |
5920 | | - | |
5921 | | - | |
5922 | | - | |
5923 | 5920 | | |
5924 | 5921 | | |
5925 | 5922 | | |
| |||
0 commit comments