[PATCH v2 0/4] perf-probe: Fix GNU IFUNC probe issue etc.

From: Masami Hiramatsu
Date: Fri Jul 10 2020 - 09:11:03 EST


Hi,

Here are the v2 patches to fix some issues of probing on GNU IFUNC,
duplicated symbols, and memory leak, which were reported by Andi.
V1 is here:

159428201109.56570.3802208017109058146.stgit@devnote2">https://lkml.kernel.org/r/159428201109.56570.3802208017109058146.stgit@devnote2

In this version, I've added Srikar's reviewed-by and Andi's Tested-by (Thanks
Srikar and Andi!) and fix some messages and code according to the comment.

Thank you,

---

Masami Hiramatsu (4):
perf-probe: Avoid setting probes on same address on same event
perf-probe: Fix wrong variable warning when the probe point is not found
perf-probe: Fix memory leakage when the probe point is not found
perf-probe: Warn if the target function is GNU Indirect function


tools/perf/util/probe-event.c | 18 ++++++++++++++++--
tools/perf/util/probe-finder.c | 5 ++++-
2 files changed, 20 insertions(+), 3 deletions(-)

--
Masami Hiramatsu (Linaro) <mhiramat@xxxxxxxxxx>