aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/thread_map.h
diff options
context:
space:
mode:
authorKan Liang <Kan.liang@intel.com>2018-02-26 10:17:10 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-02-26 16:04:08 -0300
commit853745f5e6d95faaae6381c9a01dbd43de992fb3 (patch)
tree9f5f15f5e8f7a0e863e900728dd8b8ecfc98f060 /tools/perf/util/thread_map.h
parentperf cgroup: Simplify arguments when tracking multiple events (diff)
downloadwireguard-linux-853745f5e6d95faaae6381c9a01dbd43de992fb3.tar.xz
wireguard-linux-853745f5e6d95faaae6381c9a01dbd43de992fb3.zip
perf top: Fix annoying fallback message on older kernels
On older (e.g. v4.4) kernels, an annoying fallback message can be observed in 'perf top': ┌─Warning:──────────────────────┐ │fall back to non-overwrite mode│ │ │ │ │ │Press any key... │ └───────────────────────────────┘ The 'perf top' utility has been changed to overwrite mode since commit ebebbf082357 ("perf top: Switch default mode to overwrite mode"). For older kernels which don't have overwrite mode support, 'perf top' will fall back to non-overwrite mode and print out the fallback message using ui__warning(), which needs user's input to close. The fallback message is not critical for end users. Turning it to debug message which is printed when running with -vv. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Kan Liang <kan.liang@intel.com> Cc: Kan Liang <kan.liang@intel.com> Fixes: ebebbf082357 ("perf top: Switch default mode to overwrite mode") Link: http://lkml.kernel.org/r/1519669030-176549-1-git-send-email-kan.liang@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread_map.h')
0 files changed, 0 insertions, 0 deletions