linux/tools/power/x86
Prarit Bhargava ef6057417a tools/power turbostat: Calculate additional node information for a package
The code currently assumes each package has exactly one node.  This is not
the case for AMD systems and Intel systems with COD.  AMD systems also
may re-enumerate each node's core IDs starting at 0 (for example, an AMD
processor may have two nodes, each with core IDs from 0 to 7).  In order
to properly enumerate the cores we need to track both the physical and
logical node IDs.

Add physical_node_id to track the node ID assigned by the kernel, and
logical_node_id used by turbostat to track the nodes per package ie) a
0-based count within the package.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2018-06-01 23:12:46 -04:00
..
intel_pstate_tracer tools/power/x86/intel_pstate_tracer: Free the trace buffer memory 2018-01-10 01:12:04 +01:00
turbostat tools/power turbostat: Calculate additional node information for a package 2018-06-01 23:12:46 -04:00
x86_energy_perf_policy tools/power turbostat: Don't make man pages executable 2018-06-01 17:15:09 -04:00