diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-03-17 17:18:54 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-03-18 17:16:59 -0400 |
commit | 2c86c7ca760634f09dcbd76069e5102b4de6f8f1 (patch) | |
tree | e927857cf8077753a288038aed8e83184e621f7f /tools/perf/util | |
parent | 466fa7647413665dcba46c4f7f2b4a9808426989 (diff) |
perf report: Merge al->filtered with hist_entry->filtered
I.e. don't drop al->filtered entries, create the hist_entries and use
its ->filtered bitmap, that is kept with the same semantics for its
bitmap, leaving the filtering to be done at the hist_entry level, i.e.
in the UIs.
This will allow zooming in/out the filters.
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-xeyhkepu7plw716lrtb0zlnu@git.kernel.org
[ yanked this out of a previous patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
-rw-r--r-- | tools/perf/util/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 9507f33b02ff..f38590d7561b 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c | |||
@@ -422,7 +422,7 @@ struct hist_entry *__hists__add_entry(struct hists *hists, | |||
422 | .weight = weight, | 422 | .weight = weight, |
423 | }, | 423 | }, |
424 | .parent = sym_parent, | 424 | .parent = sym_parent, |
425 | .filtered = symbol__parent_filter(sym_parent), | 425 | .filtered = symbol__parent_filter(sym_parent) | al->filtered, |
426 | .hists = hists, | 426 | .hists = hists, |
427 | .branch_info = bi, | 427 | .branch_info = bi, |
428 | .mem_info = mi, | 428 | .mem_info = mi, |