Skip to content

perf: Fix perf probe for Fedora34 glibc update

Masami Hiramatsu linux-perf-users lkml 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am 162532651032.393143.4602033845482295575.stgit@devnote2

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3perf-probe: Fix debuginfo__new() to enable build-id based debuginfotools/perf/util/probe-finder.c+5 -00 replies
2/3perf symbol-elf: Decode dynsym even if symtab existstools/perf/util/symbol-elf.c+54 -280 replies
3/3perf probe: Do not show @plt function by defaulttools/perf/builtin-probe.c+1 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] perf: Fix perf probe for Fedora34 glibc update

Hi Arnaldo,

Here is a series of patches to fix the perf-probe error against the Fedora34 glibc update, which moves most of symbols from .symtab to .dynsym. The key is that the "most of" symbols moved, but it still have some PLT symbols in .symtab. Thus the perf symbol-elf failes to decode symbols.

Here is the original report from Thomas about this issue.

https://lore.kernel.org/linux-perf-users/[email protected]/

Thank you,

---

Masami Hiramatsu (3):
perf-probe: Fix debuginfo__new() to enable build-id based debuginfo perf symbol-elf: Decode dynsym even if symtab exists perf probe: Do not show @plt function by default

 tools/perf/builtin-probe.c     |    2 -
 tools/perf/util/probe-finder.c |    5 ++
 tools/perf/util/symbol-elf.c   |   82 ++++++++++++++++++++++++++--------------
 3 files changed, 60 insertions(+), 29 deletions(-)

--
Masami Hiramatsu (Linaro) <[email protected]>