aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/top.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-03-01 08:43:03 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-03-01 08:43:03 -0500
commit5807806a92450fd57f8063868efae9d4af74db02 (patch)
tree0fe0f09e2c1c5f702adcb265ce3b552d205deea5 /tools/perf/util/top.h
parent374cfe56892701f062586d6a6de6cb71777a4184 (diff)
perf top tui: Wait till the first sample to refresh 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/util/top.h')
-rw-r--r--tools/perf/util/top.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/top.h b/tools/perf/util/top.h
index e8d28e2ecdba..96d1cb78af01 100644
--- a/tools/perf/util/top.h
+++ b/tools/perf/util/top.h
@@ -35,6 +35,7 @@ struct perf_top {
35 */ 35 */
36 struct list_head active_symbols; 36 struct list_head active_symbols;
37 pthread_mutex_t active_symbols_lock; 37 pthread_mutex_t active_symbols_lock;
38 pthread_cond_t active_symbols_cond;
38 u64 samples; 39 u64 samples;
39 u64 kernel_samples, us_samples; 40 u64 kernel_samples, us_samples;
40 u64 exact_samples; 41 u64 exact_samples;