[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-5671a10e2bc7f99d9157c6044faf8be2ef302361@git.kernel.org>
Date: Tue, 2 Mar 2010 14:30:34 GMT
From: tip-bot for Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
a.p.zijlstra@...llo.nl, tglx@...utronix.de, mingo@...e.hu,
dzickus@...hat.com
Subject: [tip:perf/nmi] nmi_watchdog: Tell the world we're active
Commit-ID: 5671a10e2bc7f99d9157c6044faf8be2ef302361
Gitweb: http://git.kernel.org/tip/5671a10e2bc7f99d9157c6044faf8be2ef302361
Author: Peter Zijlstra <a.p.zijlstra@...llo.nl>
AuthorDate: Tue, 2 Mar 2010 14:20:14 +0100
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Tue, 2 Mar 2010 15:02:05 +0100
nmi_watchdog: Tell the world we're active
Because I was wondering why perf stat wasn't working as expected..
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Don Zickus <dzickus@...hat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/nmi_watchdog.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/nmi_watchdog.c b/kernel/nmi_watchdog.c
index 0a6f57f..a79d211 100644
--- a/kernel/nmi_watchdog.c
+++ b/kernel/nmi_watchdog.c
@@ -244,6 +244,8 @@ static int __init spawn_nmi_watchdog_task(void)
if (nonmi_watchdog)
return 0;
+ printk(KERN_INFO "NMI watchdog enabled, takes one hw-pmu counter.\n");
+
err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu);
if (err == NOTIFY_BAD) {
BUG();
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists