perf hists browser: Apply the dso and thread filters when merging new batches
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Oct 2011 15:09:10 +0000 (13:09 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Oct 2011 15:09:10 +0000 (13:09 -0200)
commit90cf1fb5c09fef77514083a64914b6b47fa0dad0
tree19817a4471b19c30e5bb36f872f6c217bc569f6b
parentd7b76f0935d294e9abaac1577cdc2137eff15a49
perf hists browser: Apply the dso and thread filters when merging new batches

Now that we dynamicly add entries on the timer we need to not only
traverse all entries when the user zooms into threads and/or DSOs, but
as well after that apply it to the new batches of hist entries in
hists__collapse_resort.

Reported-by: Mike Galbraith <efault@gmx.de>
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-zustn633c7hnrae94x6nld1p@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c