powerpc/perf/hv-24x7: Use pr_devel() to log message
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tue, 31 Mar 2015 01:53:40 +0000 (18:53 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:22 +0000 (20:49 +1000)
Use pr_devel_ratelimited() to log error message when the 24x7 HCALL
fails. Since users specify events by their sysfs name, the HCALL should
succeed. Any errors reported by the HCALL would be of interest to the
developer, rather than the user/administrator.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/hv-24x7.c

index c185dcfe6271e3f30cf4d95d6fb48eeb1e8af390..87c99056ed54276a83e924c300ec2e22e195e0fa 100644 (file)
@@ -1027,7 +1027,7 @@ static unsigned long single_24x7_request(u8 domain, u32 offset, u16 ix,
                        virt_to_phys(result_buffer),  H24x7_DATA_BUFFER_SIZE);
 
        if (ret) {
-               pr_err_ratelimited("hcall failed: %d %#x %#x %d => "
+               pr_devel_ratelimited("hcall failed: %d %#x %#x %d => "
                                "0x%lx (%ld) detail=0x%x failing ix=%x\n",
                                domain, offset, ix, lpar, ret, ret,
                                result_buffer->detailed_rc,
This page took 0.025899 seconds and 5 git commands to generate.