diff options
author | Li Zhong <[email protected]> | 2015-04-13 15:48:37 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2015-04-14 13:19:15 +1000 |
commit | 7debc970ae7a5573ed43a1dfa242fd1a5390d21a (patch) | |
tree | 3bf20766ecf79b8d3e8a41d16bde04bd8f369d6b /tools/perf/scripts/python | |
parent | ad30cb9946515f72af5c3e89ad9de18870c1a1e7 (diff) |
powerpc/perf/hv-24x7: Fail 24x7 initcall if create_events_from_catalog() fails
As Michael pointed out, create_events_from_catalog() fails when we
either have:
- a kernel bug
- some sort of hypervisor misconfiguration
- ENOMEM
In all the above cases, we can also fail 24x7 initcall.
For hypervisor errors, EIO is used so there is something reported
in dmesg.
Signed-off-by: Li Zhong <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions