perf test: Add sched latency and script shell tests
authorIan Rogers <irogers@google.com>
Sat, 28 Jun 2025 01:23:02 +0000 (18:23 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 1 Jul 2025 22:37:34 +0000 (15:37 -0700)
commit0e22c5ca44e687981f79598e650d26faad101746
tree42bbba623f56700fce47b4b90ba1387df54f7016
parentb6cea9b4f892e15d6d0dfabb11f3db299cdb9f01
perf test: Add sched latency and script shell tests

Add shell tests covering the `perf sched latency` and `perf sched
script` commands. The test creates 2 noploop processes on the same
forced CPU, it then checks that the process appears in the `perf
sched` output.

Reviewed-by: James Clark <james.clark@linaro.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250628012302.1242532-2-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/sched.sh [new file with mode: 0755]