diff options
| author | Len Brown <len.brown@intel.com> | 2026-02-08 09:25:51 -0600 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-02-13 08:53:17 -0600 |
| commit | 5e160646f4dbca7cf9cc09abc31a22931e362b8a (patch) | |
| tree | 82391dd85669ffea8801cb5dce7854e1412eae06 /rust/alloc | |
| parent | 4aaf7d07a089696e16e1ca70c2d501dc8a2224a4 (diff) | |
tools/power turbostat: Rename physical_core_id to core_id
The Linux Kernel topology sysfs is flawed.
core_id is not globally unique, but is per-package.
Turbostat works around this when it needs to, with
rapl_core_id = cpus[cpu].core_id;
rapl_core_id += cpus[cpu].package_id * nr_cores_per_package
Otherwise, turbostat handles core_id as subservient to each package.
As there is only one core_id namespace, rename
physical_core_id to simply be core_id.
No functional change.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'rust/alloc')
0 files changed, 0 insertions, 0 deletions
