[PATCH v1 0/6] Various asan and test fixes

Ian Rogers posted 6 patches 3 months, 1 week ago
There is a newer version of this series
tools/perf/tests/demangle-java-test.c   |   5 +
tools/perf/tests/shell/test_intel_pt.sh |   5 +
tools/perf/tests/shell/trace_summary.sh |   6 +
tools/perf/util/demangle-cxx.h          |   2 +
tools/perf/util/intel-tpebs.c           |  12 +-
tools/perf/util/symbol-elf.c            |  86 ------------
tools/perf/util/symbol-minimal.c        | 175 ++++++++++--------------
tools/perf/util/symbol.c                |  87 ++++++++++++
8 files changed, 185 insertions(+), 193 deletions(-)
[PATCH v1 0/6] Various asan and test fixes
Posted by Ian Rogers 3 months, 1 week ago
When testing removing perf_env with asan I noticed a number of test
failures either because of asan issues or because of building with
NO_LIBELF=1 and NO_LIBBPF=1 to avoid false memory leaks. Address these
issues so that real test failures stand out.

Ian Rogers (6):
  perf symbol: Fix use-after-free in filename__read_build_id
  perf test demangle-java: Don't segv if demangling fails
  perf symbol: Move demangling code out of symbol-elf.c
  perf intel-tpebs: Avoid race when evlist is being deleted
  perf test intel-pt: Skip jitdump test if no libelf
  perf test trace_summary: Skip --bpf-summary tests if no libbpf

 tools/perf/tests/demangle-java-test.c   |   5 +
 tools/perf/tests/shell/test_intel_pt.sh |   5 +
 tools/perf/tests/shell/trace_summary.sh |   6 +
 tools/perf/util/demangle-cxx.h          |   2 +
 tools/perf/util/intel-tpebs.c           |  12 +-
 tools/perf/util/symbol-elf.c            |  86 ------------
 tools/perf/util/symbol-minimal.c        | 175 ++++++++++--------------
 tools/perf/util/symbol.c                |  87 ++++++++++++
 8 files changed, 185 insertions(+), 193 deletions(-)

-- 
2.49.0.1204.g71687c7c1d-goog