linux/tools/power
Patryk Wlazlyn 3559ea813a tools/power turbostat: Avoid possible memory corruption due to sparse topology IDs
Save the highest core and package id when parsing topology to
allocate enough memory when get_rapl_counters() is called with a core or
a package id as a domain.

Note that RAPL domains are per-package on Intel, but per-core on AMD.
Thus, the RAPL code effectively runs in different modes on those two
product lines.

Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2024-05-15 21:50:16 -04:00
..
acpi ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
cpupower Fix cpupower-frequency-info.1 man page typo 2024-03-06 09:27:57 -07:00
pm-graph PM: tools: Fix sleepgraph syntax error 2023-11-20 17:59:58 +01:00
x86 tools/power turbostat: Avoid possible memory corruption due to sparse topology IDs 2024-05-15 21:50:16 -04:00