Skip to content

perf: Small fixes and new tests

Ian Rogers linux-perf-users lkml 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 17 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/17perf kvm: Fix debug assertiontools/perf/builtin-kvm.c+1 -11 reply
2/17perf timechart: Add record support for output perf.data pathtools/perf/builtin-timechart.c+9 -61 reply
3/17perf symbol-elf: Add missing puts on error pathtools/perf/util/symbol-elf.c+4 -11 reply
4/17perf symbol: Add missed dso__puttools/perf/util/symbol.c+1 -00 replies
5/17perf probe-event: Ensure probe event nsinfo is always clearedtools/perf/util/probe-event.c+6 -61 reply
6/17perf hist: In init, ensure mem_info is put on error pathstools/perf/util/hist.c+2 -43 replies
7/17perf mem-events: Don't leak online CPU maptools/perf/util/mem-events.c+4 -11 reply
8/17perf jitdump: Fix missed dso__puttools/perf/util/jitdump.c+2 -01 reply
9/17perf c2c: Clean up some defensive gets and make asan cleantools/perf/builtin-c2c.c+14 -221 reply
10/17perf tests c2c: Add a basic c2ctools/perf/tests/shell/c2c.sh+62 -00 replies
11/17perf tests buildid: Add purge and remove testingtools/perf/tests/shell/buildid.sh+177 -260 replies
12/17perf tests top: Add basic perf top coverage testtools/perf/tests/shell/top.sh+74 -00 replies
13/17perf tests timechart: Add a perf timechart testtools/perf/tests/shell/timechart.sh+67 -00 replies
14/17perf tests kallsyms: Add basic kallsyms testtools/perf/tests/shell/kallsyms.sh+56 -00 replies
15/17perf tests script dlfilter: Add a dlfilter testtools/perf/tests/shell/script_dlfilter.sh+107 -00 replies
16/17perf tests evlist: Add basic evlist testtools/perf/tests/shell/evlist.sh+79 -01 reply
17/17perf test kvm: Add some basic perf kvm test coveragetools/perf/tests/shell/kvm.sh+154 -05 replies

Reviews trailers per patch

5 of 17 patches have a Reviewed-by or Acked-by.

PatchArnaldo Carvalho de Melo
1/17
2/17
3/17R-b
4/17
5/17
6/17R-b R-b
7/17R-b
8/17R-b
9/17R-b
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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
Signature · 1 line
2.52.0.rc2.455.g230fcf2819-goog