]> git.ipfire.org Git - thirdparty/linux.git/commit
perf tests sched: Avoid error in cleanup on loaded machines
authorIan Rogers <irogers@google.com>
Thu, 22 Jan 2026 17:53:37 +0000 (09:53 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 23 Jan 2026 19:58:39 +0000 (16:58 -0300)
commitc5e47e4d00fbc15f2390bb6ed8d9c21836363291
tree0a85fee7617d4b4a4fe5bed21de05b5dcd1a2aaa
parente786a04b4a5461dd7e2829422314a5a6d5a664d9
perf tests sched: Avoid error in cleanup on loaded machines

The stop_noploops function will kill the noploop processes that are
running for 10 seconds.

On a loaded machine they may have already terminated meaning the kill
will return an error of no such process.

This doesn't matter and so ignore the error to avoid the test
terminating in the cleanup.

Fixes: 0e22c5ca44e68798 ("perf test: Add sched latency and script shell tests")
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/sched.sh