Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1440135
| From | Vegard Nossum <vegard.nossum@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] perf: Fix bogus kernel printk, again |
| Date | 2016-07-10 19:20 +0200 |
| Message-ID | <rTqyB-3xy-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This showed up as "6Failed to access..." here.
Fixes: 1b74dde7c47c ("x86/cpu: Convert printk(KERN_<LEVEL> ...) to pr_<level>(...)")
Cc: Chen Yucong <slaoub@gmail.com>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
arch/x86/events/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c
index 33787ee..229d1ff 100644
--- a/arch/x86/events/core.c
+++ b/arch/x86/events/core.c
@@ -263,7 +263,7 @@ static bool check_hw_exists(void)
msr_fail:
pr_cont("Broken PMU hardware detected, using software events only.\n");
- pr_info("%sFailed to access perfctr msr (MSR %x is %Lx)\n",
+ printk("%sFailed to access perfctr msr (MSR %x is %Lx)\n",
boot_cpu_has(X86_FEATURE_HYPERVISOR) ? KERN_INFO : KERN_ERR,
reg, val_new);
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] perf: Fix bogus kernel printk, again Vegard Nossum <vegard.nossum@oracle.com> - 2016-07-10 19:20 +0200 [tip:perf/urgent] perf/x86: Fix bogus kernel printk, again tip-bot for Vegard Nossum <tipbot@zytor.com> - 2016-07-10 20:20 +0200
csiph-web