cpufrequtils aperf: Make data collection cpu hotplug proof

Measuring boosting performance fails when some cores are offlined due to
the cores counting not being aware of that fact. Make it more robust and
print an "offline" label for the offlined cores instead of bailing out.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
1 file changed