[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1468170841-17045-1-git-send-email-vegard.nossum@oracle.com>
Date: Sun, 10 Jul 2016 19:14:01 +0200
From: Vegard Nossum <vegard.nossum@...cle.com>
To: mingo@...nel.org
Cc: peterz@...radead.org, linux-kernel@...r.kernel.org,
Vegard Nossum <vegard.nossum@...cle.com>,
Chen Yucong <slaoub@...il.com>
Subject: [PATCH] perf: Fix bogus kernel printk, again
This showed up as "6Failed to access..." here.
Fixes: 1b74dde7c47c ("x86/cpu: Convert printk(KERN_<LEVEL> ...) to pr_<level>(...)")
Cc: Chen Yucong <slaoub@...il.com>
Signed-off-by: Vegard Nossum <vegard.nossum@...cle.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
Powered by blists - more mailing lists