Skip to content

perf test: Display remaining tests while waiting

Ian Rogers linux-perf-users lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tools subcmd: Add non-waitpid check_if_command_finished()tools/lib/subcmd/run-command.c+33 -06 replies
2/2perf test: Display number of remaining teststools/perf/tests/builtin-test.c tools/perf/util/color.h+53 -253 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] perf test: Display remaining tests while waiting

The v1 patch series:
https://lore.kernel.org/lkml/[email protected]/
was partially merged. The check_if_command_finished wasn't working as intended as stdout/stderr could be lost due to waitpid being called. Modify this function to not use waitpid and use procfs instead.

Keeping the output test display logic in 1 place should simplify improving parallel and sequential output. Namhyung was experiencing issues with this in:
https://lore.kernel.org/lkml/[email protected]/

Ian Rogers (2):
tools subcmd: Add non-waitpid check_if_command_finished() perf test: Display number of remaining tests

 tools/lib/subcmd/run-command.c  | 33 ++++++++++++++
 tools/perf/tests/builtin-test.c | 77 ++++++++++++++++++++++-----------
 tools/perf/util/color.h         |  1 +
 3 files changed, 86 insertions(+), 25 deletions(-)
Signature · 1 line
2.45.2.803.g4e1b14247a-goog