Skip to content

perf tools: Random fixes for the symbol code

Namhyung Kim linux-perf-users lkml 2 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyApplied
  2. v15 patches 3 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5perf test: Fix a memory leak in PE file parsing testtools/perf/tests/pe-file-parsing.c+10 -30 replies
2/5perf test: Make sure maps to have a machinetools/perf/tests/maps.c+25 -50 replies
3/5perf tools: Remove NULL check for maps__machine()tools/perf/util/dlfilter.c tools/perf/util/event.c tools/perf/util/map.c +1 more+5 -120 replies
4/5perf symbol: Check result when reading section headerstools/perf/util/symbol-elf.c+3 -10 replies
5/5perf symbol: Ensure dso__set_is_64_bit() for libbfdtools/perf/util/libbfd.c+1 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] perf tools: Random fixes for the symbol code

Hello,

These are assorted random fixes found by Sashiko review during the last perf dso/symbol code rework.

v2 changes)

* add perf_env for completeness in the maps tests
* convert to bfd_arch_bits_per_address for PE files

Thanks,
Namhyung

Namhyung Kim (5):
perf test: Fix a memory leak in PE file parsing test perf test: Make sure maps to have a machine perf tools: Remove NULL check for maps__machine() perf symbol: Check result when reading section headers perf symbol: Ensure dso__set_is_64_bit() for libbfd

 tools/perf/tests/maps.c            | 30 +++++++++++++++++++++++++-----
 tools/perf/tests/pe-file-parsing.c | 13 ++++++++++---
 tools/perf/util/dlfilter.c         |  3 +--
 tools/perf/util/event.c            |  3 ---
 tools/perf/util/libbfd.c           |  1 +
 tools/perf/util/map.c              |  9 +++------
 tools/perf/util/python.c           |  2 +-
 tools/perf/util/symbol-elf.c       |  4 +++-
 8 files changed, 44 insertions(+), 21 deletions(-)
Signature · 1 line
2.56.0