Fixes for perf probe issues on ppc
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest7 patches 9 repliesIn review
Changes in v3 from the cover letter
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.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | perf probe: Improve detection of file/function name in the probe patterntools/ | +26 | 1 reply | |
| 2/7 | perf probe/ppc: Fix symbol fixup issues due to ELF typetools/ tools/ tools/ +1 more | +30 | 1 reply | |
| 3/7 | perf probe/ppc: Use the right prefix when ignoring SyS symbols on ppctools/ tools/ tools/ | +37 | 0 replies | |
| 4/7 | perf probe/ppc: Enable matching against dot symbols automaticallytools/ tools/ tools/ +1 more | +22 | 0 replies | |
| 5/7 | perf probe/ppc64le: Fix ppc64 ABIv2 symbol decodingtools/ tools/ tools/ | +12 | 0 replies | |
| 6/7 | perf probe/ppc64le: Prefer symbol table lookup over DWARFtools/ tools/ tools/ | +17 | 0 replies | |
| 7/7 | perf probe/ppc64le: Fixup function entry if using kallsyms lookuptools/ tools/ tools/ | +22 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Srikar Dronamraju | Masami Hiramatsu |
|---|---|---|
| Series | A-b | |
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] Fixes for perf probe issues on ppc
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
Signature · 1 line
2.3.5