[PATCH v2 0/2] perf test: Display remaining tests while waiting
From: Ian Rogers
Date: Mon Jul 01 2024 - 00:42:54 EST
The v1 patch series:
https://lore.kernel.org/lkml/20240405070931.1231245-1-irogers@xxxxxxxxxx/
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/20240628215751.1512250-1-namhyung@xxxxxxxxxx/
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(-)
--
2.45.2.803.g4e1b14247a-goog