perf hists: Move the dso and thread filters from hist_browser
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 18 Oct 2011 21:07:34 +0000 (19:07 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Oct 2011 11:28:19 +0000 (09:28 -0200)
commitd7b76f0935d294e9abaac1577cdc2137eff15a49
treef5775c52f68db3490961eced7a9e8e8ede28f969
parent82e0af8710ceed57a2233b9652a3878b103084d8
perf hists: Move the dso and thread filters from hist_browser

Since with dynamic addition of new hist entries we need to apply those
filters as we merge new batches of hist_entry instances, for instance in
perf top.

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