From: Arnaldo Carvalho de Melo Date: Tue, 1 Mar 2011 13:24:43 +0000 (-0300) Subject: perf tui: Make ui__warning modal X-Git-Tag: v2.6.39-rc1~510^2~43 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1ceb741cf86ef433006379742db81c00b450bae;p=pandora-kernel.git perf tui: Make ui__warning modal By taking the ui__lock so that no other screen updates take place while waiting for the user. That was happening when handling an invalid --vmlinux parameter in 'perf top --tui', with the screen refresh routine repainting the screen and removing the warning window. Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed