• Arnaldo Carvalho de Melo's avatar
    perf tui: Make ui__warning modal · a1ceb741
    Arnaldo Carvalho de Melo authored
    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 <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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    a1ceb741
util.c 2.69 KB