perf symbols: Add ability to iterate over a dso's symbols
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 14 Jul 2014 10:02:50 +0000 (13:02 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Jul 2014 20:57:35 +0000 (17:57 -0300)
commit9c00a81b6aafc4ed375a43e7a54e6cf2d720c7c6
tree829d9d0c0c23acdaaa9fc1a5dbec7e5e5b36adba
parentbdac0bcf779250e89b96d4a3f381ebaf02c2f4a9
perf symbols: Add ability to iterate over a dso's symbols

Expose dso__first_symbol() and dso__next_symbol() to make it possible to
iterate over a dso's symbols.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
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/r/1405332185-4050-27-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c
tools/perf/util/symbol.h