summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2026-07-16 15:56:36 +0100
committerWill Deacon <will@kernel.org>2026-08-02 11:16:21 +0000
commit60b234db6bf127ad0ab831c0fddb511e9bf63fe5 (patch)
tree492d2b453f499504d489540d3991273b94451835 /tools/perf/scripts/python/bin/stackcollapse-report
parent745a724f9c81abd3c37c2d07daa855bd87e88120 (diff)
perf/arm_cspmu: Improve sub-module error reporting
When waiting for a sub-module to register, we return a bare -EPROBE_DEFER that ends up showing the end user: platform arm-cs-arch-pmu.1: deferred probe pending (no reason) wherein it's not necessarily clear that they might need to take some action to ensure the appropriate module is available to load. Let's use dev_err_probe() here so we can show exactly what we're waiting for. Similarly, in the case where something's gone horribly wrong with an already-registered module, we can use dev_WARN() to standardise the device/driver attribution rather than just open-coding "arm_cspmu". Reviewed-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions