Re: [RFC PATCH] perf/stat: Add --disable-hwdt

From: Borislav Petkov
Date: Mon Feb 06 2017 - 12:02:23 EST


On Mon, Feb 06, 2017 at 09:23:33AM -0500, Vince Weaver wrote:
> minor issue, but is it possibly to do anything about dmesg spam? From
> what I recall every time you enable and disable the watchdog the kernel
> prints a message. Makes for messy logs, especially when you run the
> perf_fuzzer as root.

You mean this:

[81304.460656] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.

We could turn it onto a

pr_info_once().

I mean, the feedback that the thing has been enabled is the 1 in
/proc/sys/kernel/nmi_watchdog anyway...

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.