aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2022-06-20 09:31:03 +1000
committerMichael Ellerman <[email protected]>2022-06-26 10:29:43 +1000
commit4228a996b072d36f3baafb4afdc2d2d66d2cbadf (patch)
tree15687434777ac8014f0e92959e9d4ae5d16b0976 /tools/perf/scripts/python
parent00bcb550dc60f73d593d2dbb718c4f521c7d7be8 (diff)
selftests/powerpc: Skip energy_scale_info test on older firmware
Older machines don't have the firmware feature that enables the code this test is testing. Skip the test if the sysfs directory doesn't exist. Also use the FAIL_IF() macro to provide more verbose error reporting if an error is encountered. Fixes: 57201d657eb7 ("selftest/powerpc: Add PAPR sysfs attributes sniff test") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions