diff options
author | Namhyung Kim <[email protected]> | 2015-01-20 15:40:50 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-01-22 17:05:10 -0300 |
commit | 4397bd2f90459d550deca7f6ba32c12e382d8b57 (patch) | |
tree | 0fd3b8a6157994aa5e396f65db55a42b3e36a217 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 605a3069161dd966d6cea795133c673fb6706e52 (diff) |
perf ui/tui: Show fatal error message only if exists
When perf exits with some error it shows the error message with
ui__error() or ui__warning() and then calls ui__exit() during
exit_browser().
On TUI, it then shows a window titled "Fatal Error" to inform user a
last message which might be related with this condition. However it
sometimes contains no message and just annoyes users.
The usual case for this is running perf top as normal user. (And
/proc/sys/kernel/perf_event_paranoid being 1).
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions