]> git.baikalelectronics.ru Git - kernel.git/commit
perf ui/tui: Protect windows by ui__lock
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 26 Dec 2013 05:37:57 +0000 (14:37 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Dec 2013 14:22:01 +0000 (11:22 -0300)
commitb5348025cd0ead6402773a4ef85b54ca0af3dd5e
tree7609bc7b82ffdbbb94aeeaec228a6eb465e07bad
parenta385c0209f24b1440e487f5aa5d08ce1892deba6
perf ui/tui: Protect windows by ui__lock

Sometimes perf top TUI breaks display with concurrent help/input window
and pr_* messages since they're not protected by ui__lock.

You can check it by pressing (and not releasing) 'h' key on a "perf top
-vvv" TUI session.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1388036284-32342-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/tui/util.c