aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2016-08-01 20:49:29 +0000
committerIngo Molnar <[email protected]>2016-08-02 08:23:57 +0000
commit0d87d7ec22a0879d3926faa4f4f4412a5dee1fba (patch)
tree8ee6e51bc056e8e57dc3ffb920c854ac69099290 /tools/perf/builtin-script.c
parentperf/x86: Modify error message in virtualized environment (diff)
downloadkernel-0d87d7ec22a0879d3926faa4f4f4412a5dee1fba.tar.gz
kernel-0d87d7ec22a0879d3926faa4f4f4412a5dee1fba.zip
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 <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions