public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/16] perf: various symbol resolution fixes, including .opd section use.
@ 2012-08-09 22:18 Cody P Schafer
  2012-08-09 22:18 ` [PATCH 01/16] perf symbol: correct comment wrt kallsyms loading Cody P Schafer
                   ` (15 more replies)
  0 siblings, 16 replies; 20+ messages in thread
From: Cody P Schafer @ 2012-08-09 22:18 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: LKML, Ingo Molnar, Paul Mackerras, Peter Zijlstra,
	Sukadev Bhattiprolu, Matt Hellsley, David Hansen

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).

--

 tools/perf/util/event.c  |   2 +-
 tools/perf/util/map.c    |   8 -
 tools/perf/util/map.h    |   1 -
 tools/perf/util/symbol.c | 416 +++++++++++++++++++++++++++++------------------
 tools/perf/util/symbol.h |   4 +-
 5 files changed, 260 insertions(+), 171 deletions(-)


^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH v2 00/16] perf: various symbol resolution fixes, including .opd section use.
@ 2012-08-10 22:22 Cody P Schafer
  2012-08-10 22:22 ` [PATCH 02/16] perf symbol: remove unused 'end' arg in kallsyms parse cb Cody P Schafer
  0 siblings, 1 reply; 20+ messages in thread
From: Cody P Schafer @ 2012-08-10 22:22 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: LKML, Ingo Molnar, Paul Mackerras, Peter Zijlstra,
	Sukadev Bhattiprolu, Matt Hellsley, David Hansen, Namhyung Kim

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(-)


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-08-10 22:26 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-09 22:18 [PATCH 0/16] perf: various symbol resolution fixes, including .opd section use Cody P Schafer
2012-08-09 22:18 ` [PATCH 01/16] perf symbol: correct comment wrt kallsyms loading Cody P Schafer
2012-08-09 22:18 ` [PATCH 02/16] perf symbol: remove unused 'end' arg in kallsyms parse cb Cody P Schafer
2012-08-10  2:39   ` Namhyung Kim
2012-08-10 17:11     ` Cody P Schafer
2012-08-09 22:18 ` [PATCH 03/16] perf symbol: only un-prelink non-zero symbols Cody P Schafer
2012-08-09 22:18 ` [PATCH 04/16] perf utils: remove unused function map__objdump_2ip Cody P Schafer
2012-08-09 22:18 ` [PATCH 05/16] perf symbol: don't try to synthesize plt without dynstr Cody P Schafer
2012-08-09 22:18 ` [PATCH 06/16] perf symbol: remove unneeded call to dso__set_long_name() Cody P Schafer
2012-08-09 22:18 ` [PATCH 07/16] perf symbol: symplify out_fixup in kernel syms loading Cody P Schafer
2012-08-09 22:18 ` [PATCH 08/16] perf symbol: only set vmlinux longname & mark loaded if really loaded Cody P Schafer
2012-08-09 22:18 ` [PATCH 09/16] perf symbol: avoid segfault in elf_strptr Cody P Schafer
2012-08-09 22:18 ` [PATCH 10/16] perf symbol: track symtab_type of vmlinux Cody P Schafer
2012-08-09 22:18 ` [PATCH 11/16] perf symbol: introduce symsrc structure Cody P Schafer
2012-08-09 22:18 ` [PATCH 12/16] perf symbol: set symtab_type in dso__load_sym Cody P Schafer
2012-08-09 22:18 ` [PATCH 13/16] perf symbol: switch dso__synthesize_plt_symbols() to use symsrc Cody P Schafer
2012-08-09 22:18 ` [PATCH 14/16] perf symbol: factor want_symtab out of dso__load_sym() Cody P Schafer
2012-08-09 22:18 ` [PATCH 15/16] perf symbol: convert dso__load_syms to take 2 symsrc's Cody P Schafer
2012-08-09 22:18 ` [PATCH 16/16] perf symbol: use both runtime and debug images Cody P Schafer
  -- strict thread matches above, loose matches on Subject: below --
2012-08-10 22:22 [PATCH v2 00/16] perf: various symbol resolution fixes, including .opd section use Cody P Schafer
2012-08-10 22:22 ` [PATCH 02/16] perf symbol: remove unused 'end' arg in kallsyms parse cb Cody P Schafer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox