lkml.org 
[lkml]   [2012]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 00/16] perf: various symbol resolution fixes, including .opd section use.
Date
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(-)


\
 
 \ /
  Last update: 2012-08-11 01:02    [from the cache]
©2003-2011 Jasper Spaans