commit | 93e9e2d6a8b31c63896aa287d3b3314195017249 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Fri Jan 25 18:08:00 2019 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Wed Jan 30 13:42:30 2019 +0000 |
tree | 5bc6b0f0024274f1412b4ae4bd0d5da09decd69f | |
parent | e1c7c62afc7b998a0965cd9c3617f0513e2c3c27 [diff] |
arm: pmu: Improve PMU error reporting The KVM ioctls mostly just return -1 in the error case, leaving the actual error code in errno. Change the output of the PMU error message to actually print this error code instead of the generic -1. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>