nmi_watchdog: Tell the world we're active
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 2 Mar 2010 13:20:14 +0000 (14:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 2 Mar 2010 14:02:05 +0000 (15:02 +0100)
Because I was wondering why perf stat wasn't working as expected..

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Don Zickus <dzickus@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/nmi_watchdog.c

index 0a6f57f..a79d211 100644 (file)
@@ -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();