Skip to content

libs/utils/energy: Fix error reporting for missing hwmon channel

Darryl Green requested to merge github/fork/jlelli/fix-energy-report-error into master

Created by: jlelli

For some platforms (e.g., JunoR2) channel labels in the energy report might differ from channel names, and this raises a runtime error (even if energy is correctly reported).

Fix it by always use channel labels.

Fixes: a41a48df ('libs/utils/energy: Slightly improve error for missing hwmon channel') Signed-off-by: Juri Lelli juri.lelli@arm.com

Merge request reports