All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] perf test: Add a runs-per-test option
@ 2025-01-09 21:50 Ian Rogers
  2025-01-09 21:50 ` [PATCH v4 1/5] perf test: Rename functions and variables for better clarity Ian Rogers
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ian Rogers @ 2025-01-09 21:50 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Namhyung Kim, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Ian Rogers, Adrian Hunter, Kan Liang, James Clark,
	linux-perf-users, linux-kernel

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
```

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/20241109160219.49976-1-irogers@google.com/
    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: Remove parallel 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(-)

-- 
2.47.1.613.gc27f4b7a9f-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-01-10  4:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 21:50 [PATCH v4 0/5] perf test: Add a runs-per-test option Ian Rogers
2025-01-09 21:50 ` [PATCH v4 1/5] perf test: Rename functions and variables for better clarity Ian Rogers
2025-01-09 21:50 ` [PATCH v4 2/5] perf test: Send list output to stdout rather than stderr Ian Rogers
2025-01-09 21:50 ` [PATCH v4 3/5] perf test: Remove parallel option documentation Ian Rogers
2025-01-10  0:58   ` Namhyung Kim
2025-01-10  4:46     ` Ian Rogers
2025-01-09 21:50 ` [PATCH v4 4/5] perf test: Add a runs-per-test flag Ian Rogers
2025-01-09 21:50 ` [PATCH v4 5/5] perf test: Improve verbose documentation Ian Rogers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.