diff options
| author | Kan Liang <[email protected]> | 2018-02-26 18:17:10 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-05 14:48:56 +0000 |
| commit | 626af862da9c650e80bdea44684be9334f8eb75b (patch) | |
| tree | e6f593de1f0f52f746dd1c9d3a583202ec81cd8c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | perf kallsyms: Fix the usage on the man page (diff) | |
| download | kernel-626af862da9c650e80bdea44684be9334f8eb75b.tar.gz kernel-626af862da9c650e80bdea44684be9334f8eb75b.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 <[email protected]>
Signed-off-by: Kan Liang <[email protected]>
Cc: Kan Liang <[email protected]>
Fixes: ebebbf082357 ("perf top: Switch default mode to overwrite mode")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
