Skip to content

perf test: Add a runs-per-test option

Ian Rogers linux-perf-users lkml 5 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. v5 Latest5 patches 2 repliesApplied
  2. v45 patches 2 repliesSuperseded
  3. v35 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches1 replySuperseded
v11 patch4 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/5perf test: Rename functions and variables for better claritytools/perf/tests/builtin-test.c+93 -1080 replies
2/5perf test: Send list output to stdout rather than stderrtools/perf/tests/builtin-test.c+4 -40 replies
3/5perf test: Fix parallel/sequential option documentationtools/perf/Documentation/perf-test.txt+3 -70 replies
4/5perf test: Add a runs-per-test flagtools/perf/Documentation/perf-test.txt tools/perf/tests/builtin-test.c+22 -110 replies
5/5perf test: Improve verbose documentationtools/perf/Documentation/perf-test.txt+4 -10 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNamhyung Kim
SeriesR-b
1/5
2/5
3/5
4/5
5/5

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

Read the v5 thread

Cover letter [PATCH v5 0/5] perf test: Add a runs-per-test option

Add a runs-per-test option to perf test inorder to better diagnose flakes. Each runs executes as if it were a different test, the tests appear together in the output:

```
$ perf test -r 3 lbr -v
122: perf record LBR tests                                           : Ok
122: perf record LBR tests                                           : Ok
122: perf record LBR tests                                           : Ok
```

v5: Fix the patch that updates the documentation for the sequential
option, as spotted by Namhyung.
v4: Fix crash in dont_fork mode caused by cleanup work.
v3: Improve perf test documentation, including for the new option, and
add some example output to the commit messages as requested by Namhyung.
v2: In the v1 patch Kan and I noted cleanup that would make the code
cleaner and less indented:
https://lore.kernel.org/lkml/[email protected]/
Add patches doing some builtin-test.c cleanup and then add the runs-per-test flag.

Ian Rogers (5):
perf test: Rename functions and variables for better clarity perf test: Send list output to stdout rather than stderr perf test: Fix parallel/sequential option documentation perf test: Add a runs-per-test flag
perf test: Improve verbose documentation

 tools/perf/Documentation/perf-test.txt |  20 ++-
 tools/perf/tests/builtin-test.c        | 223 ++++++++++++-------------
 2 files changed, 119 insertions(+), 124 deletions(-)
Signature · 1 line
2.47.1.613.gc27f4b7a9f-goog