commit | 7debc970ae7a5573ed43a1dfa242fd1a5390d21a | [log] [tgz] |
---|---|---|
author | Li Zhong <zhong@linux.vnet.ibm.com> | Mon Apr 13 15:48:37 2015 +0800 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Apr 14 13:19:15 2015 +1000 |
tree | 3bf20766ecf79b8d3e8a41d16bde04bd8f369d6b | |
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 <zhong@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>