diff options
author | Will Deacon <[email protected]> | 2012-07-04 18:15:42 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2012-07-05 09:50:56 +0100 |
commit | fdeb8e35fd59e79dec385f98eb4b6d2e3398264b (patch) | |
tree | de9be588521f924f0b1c11d8f66a4c9b83543871 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 433e2f307beff8adba241646ce9108544e0c5a03 (diff) |
ARM: 7441/1: perf: return -EOPNOTSUPP if requested mode exclusion is unavailable
We currently return -EPERM if the user requests mode exclusion that is
not supported by the CPU. This looks pretty confusing from userspace
and is inconsistent with other architectures (ppc, x86).
This patch returns -EOPNOTSUPP instead.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions