Skip to content

perf-probe: Fix offline module and cross-arch support

Masami Hiramatsu lkml 1 version Applied

Status from this message: I applied the first two patches, and now I'm preparing a pull req to Ingo,

Get series with b4
b4 am 148350046263.19001.16486219029429895749.stgit@devbox

Versions newest first

  1. v1 Latest3 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3perf-probe: Fix --funcs to show correct symbols for offline moduletools/perf/util/probe-event.c+6 -190 replies
2/3perf-probe: Fix to probe on gcc generated symbols for offline kerneltools/perf/util/probe-event.c+47 -10 replies
3/3perf-probe: Fix to probe on gcc generated functions in modulestools/perf/util/probe-event.c tools/perf/util/probe-finder.c tools/perf/util/probe-finder.h+26 -169 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMasami Hiramatsu
1/3
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH perf/core 0/3] perf-probe: Fix offline module and cross-arch support

Hello,

This series fixes some issues on offline module/cross-arch probe support. While I was debuging arm32 kernel with cross-arch perf-probe, I found several issues.

- perf-probe didn't show correct probe definition on gcc-generated symbols (on both of kernel and module).
- perf-probe didn't show available functions for offline module even if full path of the module was given.

This series fixes those issues.

---

Masami Hiramatsu (3):
perf-probe: Fix --funcs to show correct symbols for offline module
perf-probe: Fix to probe on gcc generated symbols for offline kernel
perf-probe: Fix to probe on gcc generated functions in modules

 tools/perf/util/probe-event.c  |  111 +++++++++++++++++++++++++++-------------
 tools/perf/util/probe-finder.c |    2 -
 tools/perf/util/probe-finder.h |    2 +
 3 files changed, 79 insertions(+), 36 deletions(-)

--
Masami Hiramatsu (Linaro)