linux_dsm_epyc7002/tools/perf/ui/tui
Namhyung Kim 4397bd2f90 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 <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1421736050-5283-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-01-22 17:05:10 -03:00
..
helpline.c perf ui/tui: Show fatal error message only if exists 2015-01-22 17:05:10 -03:00
progress.c perf ui tui progress: Don't force a refresh during progress update 2013-11-11 15:56:39 -03:00
setup.c perf ui/tui: Show fatal error message only if exists 2015-01-22 17:05:10 -03:00
tui.h perf ui: Rename ui_progress to ui_progress_ops 2013-10-23 14:41:23 -03:00
util.c perf ui/tui: Protect windows by ui__lock 2013-12-26 11:22:01 -03:00