drivers/perf: arm_pmu: make info messages more verbose
authorDirk Behme <dirk.behme@de.bosch.com>
Thu, 4 Feb 2016 17:06:10 +0000 (18:06 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 9 Feb 2016 11:18:39 +0000 (11:18 +0000)
commitc6b90653f1f7ea383734f8ce9e8df285a0c23f5b
treed9ed3415c8c573894d82331aec651d2077842ecc
parent8d1a0ae724ad74ef7946a45e3b2d3e01f39df02b
drivers/perf: arm_pmu: make info messages more verbose

On a big.LITTLE system e.g. with Cortex A57 and A53 in case not all cores
are online at PMU probe time we might get

hw perfevents: failed to probe PMU!
hw perfevents: failed to register PMU devices!

making it unclear which cores failed, here.

Add the device tree full name which failed and the error value resulting
in a more verbose and helpful message like

hw perfevents: /soc/pmu_a53: failed to probe PMU! Error -6
hw perfevents: /soc/pmu_a53: failed to register PMU devices! Error -6

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm_pmu.c