diff options
author | James Clark <james.clark@arm.com> | 2023-12-11 16:13:21 +0000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-12-12 09:46:22 +0000 |
commit | 186c91aaf54989a9c74869dcc6ba031313d8e2b8 (patch) | |
tree | f37e4c8e88c0e4dae71050917ffc2bae2948deca /scripts/gdb/linux/cpus.py | |
parent | c7b98bf0fc79bd2d91f6ef84e07b5f648d43c13e (diff) |
arm: pmu: Move error message and -EOPNOTSUPP to individual PMUs
-EPERM or -EINVAL always get converted to -EOPNOTSUPP, so replace them.
This will allow __hw_perf_event_init() to return a different code or not
print that particular message for a different error in the next commit.
Signed-off-by: James Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20231211161331.1277825-10-james.clark@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions