perf symbols: Add dso__last_symbol()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 23 Sep 2016 14:38:38 +0000 (17:38 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2016 14:17:01 +0000 (11:17 -0300)
commitcd67f99fe90dcf515f1c70c474b84d56b6236cbb
treea47a48795edcea7e53c5fed1299451498b507dc1
parent5c01ad60b8a23f8ff59b9a5a756f07ed08f0b6d1
perf symbols: Add dso__last_symbol()

Add a function to find the last symbol in a DSO. This will be used when
parsing address filters to calculate a region that includes the entire
DSO.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: http://lkml.kernel.org/r/1474641528-18776-7-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