[PATCH v1 00/17] perf: Small fixes and new tests

Ian Rogers posted 17 patches 1 week, 2 days ago
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
[PATCH v1 00/17] perf: Small fixes and new tests
Posted by Ian Rogers 1 week, 2 days ago
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