diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2016-08-01 23:49:29 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-08-02 11:23:57 +0300 |
commit | 0d87d7ec22a0879d3926faa4f4f4412a5dee1fba (patch) | |
tree | 8ee6e51bc056e8e57dc3ffb920c854ac69099290 /tools/perf | |
parent | 005bd0077a79c4bcfe64e7331b275e12f742093f (diff) | |
download | linux-0d87d7ec22a0879d3926faa4f4f4412a5dee1fba.tar.xz |
perf/core: Change log level for duration warning to KERN_INFO
When the perf interrupt handler exceeds a threshold warning messages
are displayed on console:
[12739.31793] perf interrupt took too long (2504 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[71340.165065] perf interrupt took too long (5005 > 5000), lowering kernel.perf_event_max_sample_rate to 25000
Many customers and users are confused by the message wondering if
something is wrong or they need to take action to fix a problem.
Since a user can not do anything to fix the issue, the message is really
more informational than a warning. Adjust the log level accordingly.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1470084569-438-1-git-send-email-dsa@cumulusnetworks.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions