[PATCH v2 00/16] perf: various symbol resolution fixes, including .opd section use.

From: Cody P Schafer
Date: Fri Aug 10 2012 - 18:23:22 EST


1-4,6,7 are small cleanups.

5 fixes a potential segfault.

8 fixes a use after free for dso->long_name

9 avoids a segfault in elfutils when a truncated elf is loaded.

10 properly tracks that a dso had symbols loaded from a vmlinux image

11-16 fix handling of the '.opd' section in the presence of debuginfo. They
should also fix plt symbol synthesis (haven't seen the plt issues in
practice).

--

Changes from v1:
- rebased on top of
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf/core
- In #2, make the symbols have size 0 instead of 1.

--

tools/perf/util/event.c | 2 +-
tools/perf/util/map.c | 8 --
tools/perf/util/map.h | 1 -
tools/perf/util/symbol-elf.c | 182 ++++++++++++++++++++++++++-------------
tools/perf/util/symbol-minimal.c | 48 +++++++++--
tools/perf/util/symbol.c | 136 +++++++++++++++++------------
tools/perf/util/symbol.h | 49 +++++++++--
7 files changed, 290 insertions(+), 136 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/