[PATCH v3 0/7] Fixes for perf probe issues on ppc

From: Naveen N. Rao
Date: Tue Apr 28 2015 - 08:07:15 EST


This patchset fixes various issues with perf probe on powerpc across ABIv1 and
ABIv2:
- in the presence of DWARF debug-info,
- in the absence of DWARF, but with the symbol table, and
- in the absence of debug-info, but with kallsyms.

Arnaldo,
I have moved all patches to use __weak functions. Kindly take a look and let me
know if this is what you had in mind.

Thanks!
- Naveen

----
Changes since v2:
The primary change is with the use of __weak functions instead of compiler
macros. Along with that, I have also addressed all previous review comments
(*). Individual patches have the detailed changelog. Please note that I have
dropped the first (kernel) patch from the last series since it has been pushed
upstream. This series now only includes the rest of the patches.

(*) http://thread.gmane.org/gmane.linux.kernel/1851128



Naveen N. Rao (7):
perf probe: Improve detection of file/function name in the probe
pattern
perf probe/ppc: Fix symbol fixup issues due to ELF type
perf probe/ppc: Use the right prefix when ignoring SyS symbols on ppc
perf probe/ppc: Enable matching against dot symbols automatically
perf probe/ppc64le: Fix ppc64 ABIv2 symbol decoding
perf probe/ppc64le: Prefer symbol table lookup over DWARF
perf probe/ppc64le: Fixup function entry if using kallsyms lookup

tools/perf/arch/powerpc/util/Build | 1 +
tools/perf/arch/powerpc/util/sym-handling.c | 80 +++++++++++++++++++++++++++++
tools/perf/util/map.c | 5 ++
tools/perf/util/map.h | 3 +-
tools/perf/util/probe-event.c | 42 +++++++++++++--
tools/perf/util/probe-event.h | 3 ++
tools/perf/util/symbol-elf.c | 12 ++++-
tools/perf/util/symbol.c | 25 +++++----
tools/perf/util/symbol.h | 10 ++++
9 files changed, 164 insertions(+), 17 deletions(-)
create mode 100644 tools/perf/arch/powerpc/util/sym-handling.c

--
2.3.5

--
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/