Commit 58839fd
committed
tools/power turbostat: Process HT siblings in CPU order
On large systems with HT sibling cpu#'s more than 32 apart,
HT siblings were processed and displayed in reverse order.
This was due to how set_thread_siblings() parsed the
sibling-bit-mask.
Update set_thread_siblings to instead parse the sibling-list,
like other cpu lists, and to thus order HT siblings
by ascending CPU number, no matter the size of the system.
Signed-off-by: Len Brown <len.brown@intel.com>1 parent aea40f1 commit 58839fd
1 file changed
Lines changed: 31 additions & 49 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6219 | 6219 | | |
6220 | 6220 | | |
6221 | 6221 | | |
6222 | | - | |
6223 | | - | |
6224 | | - | |
6225 | | - | |
6226 | | - | |
6227 | | - | |
6228 | | - | |
6229 | | - | |
6230 | | - | |
6231 | | - | |
6232 | | - | |
6233 | | - | |
6234 | | - | |
6235 | | - | |
6236 | | - | |
6237 | | - | |
6238 | | - | |
6239 | | - | |
6240 | | - | |
6241 | | - | |
6242 | | - | |
6243 | | - | |
6244 | | - | |
6245 | | - | |
6246 | | - | |
6247 | | - | |
6248 | | - | |
6249 | | - | |
6250 | | - | |
6251 | | - | |
6252 | | - | |
6253 | | - | |
6254 | | - | |
6255 | | - | |
6256 | | - | |
6257 | | - | |
6258 | | - | |
6259 | | - | |
6260 | | - | |
6261 | | - | |
6262 | | - | |
6263 | | - | |
6264 | | - | |
6265 | | - | |
6266 | | - | |
6267 | | - | |
6268 | | - | |
6269 | | - | |
6270 | | - | |
6271 | 6222 | | |
6272 | 6223 | | |
6273 | 6224 | | |
| |||
9539 | 9490 | | |
9540 | 9491 | | |
9541 | 9492 | | |
| 9493 | + | |
| 9494 | + | |
| 9495 | + | |
| 9496 | + | |
| 9497 | + | |
| 9498 | + | |
| 9499 | + | |
| 9500 | + | |
| 9501 | + | |
| 9502 | + | |
| 9503 | + | |
| 9504 | + | |
| 9505 | + | |
| 9506 | + | |
| 9507 | + | |
| 9508 | + | |
| 9509 | + | |
| 9510 | + | |
| 9511 | + | |
| 9512 | + | |
| 9513 | + | |
| 9514 | + | |
| 9515 | + | |
| 9516 | + | |
| 9517 | + | |
| 9518 | + | |
| 9519 | + | |
| 9520 | + | |
| 9521 | + | |
| 9522 | + | |
| 9523 | + | |
9542 | 9524 | | |
9543 | 9525 | | |
9544 | 9526 | | |
| |||
0 commit comments