perf hists browser: Update the browser.nr_entries after the timer
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Oct 2011 13:56:05 +0000 (10:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 7 Oct 2011 20:01:11 +0000 (17:01 -0300)
commitbe83f5ed6bc46cd89b4a102b6e341ecddf7abf91
tree9fcf1157f7fbdc5c11bc87f621f400acb4142e54
parent7d16320e2315db434b28854c08677e0d15b604f1
perf hists browser: Update the browser.nr_entries after the timer

Previously the hist_browser dealt with a static tree of entries, now it
needs to update the nr_entries in the browser after the timer runs.

A better solution will come when moving using another thread for the
collapse_resort, etc, but for now this is ok.

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-9eno2iq55sjr4iyo899buzaw@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browsers/hists.c