diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2015-03-30 21:53:40 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-04-11 06:49:22 -0400 |
commit | 7aabe0cec2bcfcb08a4e706ec7c794883cbbcf6f (patch) | |
tree | d2b815c19bcffbdaed20662f04021f3e7ba32d2f /arch | |
parent | f2b1237c732d3f3ce18e85c84782a4d1f3b5ba08 (diff) |
powerpc/perf/hv-24x7: Use pr_devel() to log message
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/perf/hv-24x7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index c185dcfe6271..87c99056ed54 100644 --- a/arch/powerpc/perf/hv-24x7.c +++ b/arch/powerpc/perf/hv-24x7.c | |||
@@ -1027,7 +1027,7 @@ static unsigned long single_24x7_request(u8 domain, u32 offset, u16 ix, | |||
1027 | virt_to_phys(result_buffer), H24x7_DATA_BUFFER_SIZE); | 1027 | virt_to_phys(result_buffer), H24x7_DATA_BUFFER_SIZE); |
1028 | 1028 | ||
1029 | if (ret) { | 1029 | if (ret) { |
1030 | pr_err_ratelimited("hcall failed: %d %#x %#x %d => " | 1030 | pr_devel_ratelimited("hcall failed: %d %#x %#x %d => " |
1031 | "0x%lx (%ld) detail=0x%x failing ix=%x\n", | 1031 | "0x%lx (%ld) detail=0x%x failing ix=%x\n", |
1032 | domain, offset, ix, lpar, ret, ret, | 1032 | domain, offset, ix, lpar, ret, ret, |
1033 | result_buffer->detailed_rc, | 1033 | result_buffer->detailed_rc, |