diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-09 08:38:43 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-16 11:47:55 -0500 |
commit | 5c35d69fb60b1dc49595f5b9a2c7158283e9eaf3 (patch) | |
tree | b41206e03fa84bcbb752a320513feb8f7b7603ad /tools/perf/Makefile | |
parent | ba3dd36c6775264ee6e7354ba1aabcd6e86d7298 (diff) |
perf ui: Serialize screen updates
The ui operations so far were used by just one thread, but 'perf top
--tui' now has two threads updating the screen, so we need to use a
mutex to avoid garbling 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>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index bc4d9bf8a556..ffd1047cd93b 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -637,6 +637,7 @@ else | |||
637 | LIB_H += util/ui/libslang.h | 637 | LIB_H += util/ui/libslang.h |
638 | LIB_H += util/ui/progress.h | 638 | LIB_H += util/ui/progress.h |
639 | LIB_H += util/ui/util.h | 639 | LIB_H += util/ui/util.h |
640 | LIB_H += util/ui/ui.h | ||
640 | endif | 641 | endif |
641 | endif | 642 | endif |
642 | 643 | ||