Various asan and test fixes
Status from this message: Thanks, applied to perf-tools-next,
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | perf symbol: Fix use-after-free in filename__read_build_idtools/ | +70 | 0 replies | |
| 2/7 | perf test demangle-java: Don't segv if demangling failstools/ | +5 | 0 replies | |
| 3/7 | perf symbol: Move demangling code out of symbol-elf.ctools/ tools/ tools/ +1 more | +89 | 0 replies | |
| 4/7 | perf intel-tpebs: Avoid race when evlist is being deletedtools/ | +10 | 5 replies | |
| 5/7 | perf test intel-pt: Skip jitdump test if no libelftools/ | +5 | 0 replies | |
| 6/7 | perf test trace_summary: Skip --bpf-summary tests if no libbpftools/ | +6 | 2 replies | |
| 7/7 | perf thread: Avoid recursively taking thread__comm_locktools/ | +13 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Howard Chu | Namhyung Kim |
|---|---|---|
| Series | A-b | |
| 1/7 | ||
| 2/7 | ||
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | A-b | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/7] Various asan and test fixes
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.
v2: Fix wrong elf size use in filename__read_build_id fix. Add
thread__comm_lock fix.
Ian Rogers (7):
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 perf thread: Avoid recursively taking thread__comm_lock
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 ++++++++++++ tools/perf/util/thread.c | 17 ++- 9 files changed, 198 insertions(+), 197 deletions(-)
Signature · 1 line
2.49.0.1238.gf8c92423fb-goog