aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/browsers/top.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-10-05 19:11:32 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-10-07 12:12:51 -0300
commit81cce8de9437be9234f651be1f03e596c1b1a79a (patch)
tree0837eb23c9d74b3d54999ffaead67317cc8ab4d5 /tools/perf/util/ui/browsers/top.c
parentperf hists: Threaded addition and sorting of entries (diff)
downloadlinux-dev-81cce8de9437be9234f651be1f03e596c1b1a79a.tar.xz
linux-dev-81cce8de9437be9234f651be1f03e596c1b1a79a.zip
perf browsers: Add live mode to the hists, annotate browsers
This allows passing a timer to be run periodically, which will update the hists tree that then gers refreshed on the screen, just like the Live mode (symbol entries, annotation) we already have in 'perf top --tui'. Will be used by the new hist_entry/hists based 'top' tool. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-2r44qd8oe4sagzcgoikl8qzc@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/ui/browsers/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/ui/browsers/top.c b/tools/perf/util/ui/browsers/top.c
index 9b6b43b32ac8..d43875b2356f 100644
--- a/tools/perf/util/ui/browsers/top.c
+++ b/tools/perf/util/ui/browsers/top.c
@@ -142,7 +142,7 @@ static void perf_top_browser__annotate(struct perf_top_browser *browser)
pthread_mutex_unlock(&notes->lock);
do_annotation:
- symbol__tui_annotate(sym, syme->map, 0, top->delay_secs * 1000);
+ symbol__tui_annotate(sym, syme->map, 0, NULL, NULL, top->delay_secs * 1000);
}
static void perf_top_browser__warn_lost(struct perf_top_browser *browser)