perf top: Fix reporting of invalid --vmlinux
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 1 Mar 2011 13:27:27 +0000 (10:27 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 1 Mar 2011 13:27:27 +0000 (10:27 -0300)
commit374cfe56892701f062586d6a6de6cb71777a4184
tree434530da1f0b12aae312e1d9287529ec290f13dc
parenta1ceb741cf86ef433006379742db81c00b450bae
perf top: Fix reporting of invalid --vmlinux

Using ui__warning, that will, in --tui, show a window with the message,
waiting for the user to press Ok.

Also run exit_browser() to let newt do its final cleaning of the screen.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c