perf stat: Only print NMI watchdog hint when enabled
authorAndi Kleen <ak@linux.intel.com>
Tue, 23 May 2017 01:00:16 +0000 (18:00 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 2 Jun 2017 14:15:34 +0000 (11:15 -0300)
commit918c7b062a0f9198d9503cfece0210c1743c0f88
tree40cd434b7e5ecc2106011d83cc3911a41e831701
parentb13bbeee5ee606cfb57ddcf47e66802f9aa7273e
perf stat: Only print NMI watchdog hint when enabled

Only print the NMI watchdog hint when that watchdog it actually enabled.

This avoids printing these unnecessarily.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/n/tip-lnw7edxnqsphkmeew857wz1i@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c