Skip to content

perf test: Small improvements

Namhyung Kim linux-perf-users lkml 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 6 repliesApplied
  2. v14 patches 3 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6perf test: Add --metric-only to perf stat output teststools/perf/tests/shell/lib/perf_json_output_lint.py tools/perf/tests/shell/lib/stat_output.sh tools/perf/tests/shell/stat+csv_output.sh +2 more+34 -00 replies
2/6perf test: Skip perf probe tests when running as non-roottools/perf/tests/shell/perftool-testsuite_probe.sh tools/perf/tests/shell/probe_vfs_getname.sh tools/perf/tests/shell/record+probe_libc_inet_pton.sh +2 more+9 -60 replies
3/6perf test: Skip perf trace tests when running as non-roottools/perf/tests/shell/trace+probe_vfs_getname.sh tools/perf/tests/shell/trace_btf_enum.sh tools/perf/tests/shell/trace_btf_general.sh +1 more+4 -00 replies
4/6perf test: Add trace record and replay testtools/perf/tests/shell/trace_record_replay.sh+21 -00 replies
5/6perf test: Add timeout to datasym workloadtools/perf/tests/workloads/datasym.c+21 -22 replies
6/6perf test: Simplify data symbol testtools/perf/tests/shell/test_data_symbol.sh+2 -132 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchThomas RichterLeo YanThomas Falcon
SeriesT-b
1/6
2/6
3/6
4/6
5/6T-b R-b
6/6T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/6] perf test: Small improvements

Hello,

This is an assorted list of changes in the perf test.

I've added perf stat --metric-only test and perf trace record and replay. And other changes to skip privileged tests for non-root and simplify data symbol test.

v2 changes)
* fix shellcheck errors
* simplify datasym test with timeout

Thanks,
Namhyung

Namhyung Kim (6):
perf test: Add --metric-only to perf stat output tests perf test: Skip perf probe tests when running as non-root perf test: Skip perf trace tests when running as non-root perf test: Add trace record and replay test
perf test: Add timeout to datasym workload
perf test: Simplify data symbol test

 .../tests/shell/lib/perf_json_output_lint.py  |  7 ++++++
 tools/perf/tests/shell/lib/stat_output.sh     |  8 +++++++
 .../tests/shell/perftool-testsuite_probe.sh   |  1 +
 tools/perf/tests/shell/probe_vfs_getname.sh   |  1 +
 .../shell/record+probe_libc_inet_pton.sh      |  1 +
 .../shell/record+script_probe_vfs_getname.sh  |  1 +
 tools/perf/tests/shell/stat+csv_output.sh     |  2 ++
 tools/perf/tests/shell/stat+json_output.sh    |  9 ++++++++
 tools/perf/tests/shell/stat+std_output.sh     |  8 +++++++
 tools/perf/tests/shell/test_data_symbol.sh    | 15 ++----------
 .../shell/test_uprobe_from_different_cu.sh    | 11 ++++-----
 .../tests/shell/trace+probe_vfs_getname.sh    |  1 +
 tools/perf/tests/shell/trace_btf_enum.sh      |  1 +
 tools/perf/tests/shell/trace_btf_general.sh   |  1 +
 tools/perf/tests/shell/trace_exit_race.sh     |  1 +
 tools/perf/tests/shell/trace_record_replay.sh | 21 +++++++++++++++++
 tools/perf/tests/workloads/datasym.c          | 23 +++++++++++++++++--
 17 files changed, 91 insertions(+), 21 deletions(-)
 create mode 100755 tools/perf/tests/shell/trace_record_replay.sh
Signature · 1 line
2.48.1.711.g2feabab25a-goog