Skip to content

Commit 5671a10

Browse files
Peter ZijlstraIngo Molnar
authored andcommitted
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@chello.nl> Cc: Don Zickus <dzickus@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent c99c30f commit 5671a10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/nmi_watchdog.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ static int __init spawn_nmi_watchdog_task(void)
244244
if (nonmi_watchdog)
245245
return 0;
246246

247+
printk(KERN_INFO "NMI watchdog enabled, takes one hw-pmu counter.\n");
248+
247249
err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu);
248250
if (err == NOTIFY_BAD) {
249251
BUG();

0 commit comments

Comments
 (0)