[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250528032637.198960-1-irogers@google.com>
Date: Tue, 27 May 2025 20:26:30 -0700
From: Ian Rogers <irogers@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>,
Kan Liang <kan.liang@...ux.intel.com>, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
"Björn Roy Baron" <bjorn3_gh@...tonmail.com>, Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>, Danilo Krummrich <dakr@...nel.org>,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>, James Clark <james.clark@...aro.org>,
Howard Chu <howardchu95@...il.com>, Weilin Wang <weilin.wang@...el.com>,
Stephen Brennan <stephen.s.brennan@...cle.com>, Andi Kleen <ak@...ux.intel.com>,
Dmitry Vyukov <dvyukov@...gle.com>, linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [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(-)
--
2.49.0.1238.gf8c92423fb-goog
Powered by blists - more mailing lists