perf newt: Properly restore the screen when error exiting
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 22 Mar 2010 16:10:25 +0000 (13:10 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 22 Mar 2010 17:47:34 +0000 (18:47 +0100)
commitf3a1f0ea9432ec395cd112f42201e8e523c07bc5
treedcf78714e7531f35c008de90de55e11c512310ef
parent301fde27c7fcd0380b02b175d547e894ff65d78a
perf newt: Properly restore the screen when error exiting

Show an OK message box with the last message sent via pr_err,
etc.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1269274229-20442-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/perf.c
tools/perf/util/cache.h
tools/perf/util/newt.c