]> asedeno.scripts.mit.edu Git - linux.git/commit
perf symbols: Store if there is a filter in place
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Jul 2015 11:21:57 +0000 (08:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Jul 2015 11:21:57 +0000 (08:21 -0300)
commit0bc2f2f7d080561cc484d2d0a162a9396bed3383
tree6136a2c4b6873730b91b277554f8467bce11abd2
parenta833581e372a4adae2319d8dc379493edbc444e9
perf symbols: Store if there is a filter in place

When setting yup the symbols library we setup several filter lists,
for dsos, comms, symbols, etc, and there is code that, if there are
filters, do certain operations, like recalculate the number of non
filtered histogram entries in the top/report TUI.

But they were considering just the "Zoom" filters, when they need to
take into account as well the above mentioned filters (perf top --comms,
--dsos, etc).

So store in symbol_conf.has_filter true if any of those filters is in
place.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-f5edfmhq69vfvs1kmikq1wep@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c
tools/perf/util/symbol.h