[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251122081929.7588-1-irogers@google.com>
Date: Sat, 22 Nov 2025 00:19:12 -0800
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>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>,
James Clark <james.clark@...aro.org>, Collin Funk <collin.funk1@...il.com>,
Dmitry Vyukov <dvyukov@...gle.com>, Andi Kleen <ak@...ux.intel.com>,
Thomas Falcon <thomas.falcon@...el.com>, Leo Yan <leo.yan@....com>,
Yicong Yang <yangyicong@...ilicon.com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Masami Hiramatsu (Google)" <mhiramat@...nel.org>, Stephen Brennan <stephen.s.brennan@...cle.com>,
Haibo Xu <haibo1.xu@...el.com>, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org
Subject: [PATCH v1 00/17] perf: Small fixes and new tests
Pushing for additional test coverage exposed minor fixes, a missing
timechart option, and a number of reference counting issues. Fix the
issues then add the new tests. The new tests cover c2c, additional
build-id tests, perf top, timechart, kallsyms, perf script with
--dlfilter, evlist and kvm.
Ian Rogers (17):
perf kvm: Fix debug assertion
perf timechart: Add record support for output perf.data path
perf symbol-elf: Add missing puts on error path
perf symbol: Add missed dso__put
perf probe-event: Ensure probe event nsinfo is always cleared
perf hist: In init, ensure mem_info is put on error paths
perf mem-events: Don't leak online CPU map
perf jitdump: Fix missed dso__put
perf c2c: Clean up some defensive gets and make asan clean
perf tests c2c: Add a basic c2c
perf tests buildid: Add purge and remove testing
perf tests top: Add basic perf top coverage test
perf tests timechart: Add a perf timechart test
perf tests kallsyms: Add basic kallsyms test
perf tests script dlfilter: Add a dlfilter test
perf tests evlist: Add basic evlist test
perf test kvm: Add some basic perf kvm test coverage
tools/perf/builtin-c2c.c | 36 ++--
tools/perf/builtin-kvm.c | 2 +-
tools/perf/builtin-timechart.c | 15 +-
tools/perf/tests/shell/buildid.sh | 203 +++++++++++++++++++---
tools/perf/tests/shell/c2c.sh | 62 +++++++
tools/perf/tests/shell/evlist.sh | 79 +++++++++
tools/perf/tests/shell/kallsyms.sh | 56 ++++++
tools/perf/tests/shell/kvm.sh | 154 ++++++++++++++++
tools/perf/tests/shell/script_dlfilter.sh | 107 ++++++++++++
tools/perf/tests/shell/timechart.sh | 67 +++++++
tools/perf/tests/shell/top.sh | 74 ++++++++
tools/perf/util/hist.c | 6 +-
tools/perf/util/jitdump.c | 2 +
tools/perf/util/mem-events.c | 5 +-
tools/perf/util/probe-event.c | 12 +-
tools/perf/util/symbol-elf.c | 5 +-
tools/perf/util/symbol.c | 1 +
17 files changed, 819 insertions(+), 67 deletions(-)
create mode 100755 tools/perf/tests/shell/c2c.sh
create mode 100755 tools/perf/tests/shell/evlist.sh
create mode 100755 tools/perf/tests/shell/kallsyms.sh
create mode 100755 tools/perf/tests/shell/kvm.sh
create mode 100755 tools/perf/tests/shell/script_dlfilter.sh
create mode 100755 tools/perf/tests/shell/timechart.sh
create mode 100755 tools/perf/tests/shell/top.sh
--
2.52.0.rc2.455.g230fcf2819-goog
Powered by blists - more mailing lists