perf symbols: Generalize filter in __fprintf_buildid methods
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 7 Dec 2012 12:53:58 +0000 (09:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 9 Dec 2012 11:46:07 +0000 (08:46 -0300)
commit417c2ff6806fd9183cb36682dcf32c4d068aba5e
tree76660911e3c6faa54e5f2424c80c4d7ad376c116
parentdb6d0bb86164497f6c9ef46020cf1881953f4b08
perf symbols: Generalize filter in __fprintf_buildid methods

We had that 'with_hits' filter to show just the build ids for DSOs that
had samples, make that generic so that we can use it in the upcoming
buildid-cache --missing feature, to show just the build ids that are not
in the cache.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
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-9nfesdfpnx7zp96yn3tmfbx0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-buildid-list.c
tools/perf/util/dso.c
tools/perf/util/dso.h
tools/perf/util/machine.h
tools/perf/util/session.c
tools/perf/util/session.h
tools/perf/util/symbol.c