aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-10-25 19:21:08 +0000
committerNamhyung Kim <[email protected]>2024-10-28 16:32:58 +0000
commit553d5efeb341f2f814f937e0658ed7d22f625662 (patch)
tree16d7c1730aa3a3755decb30fe9ba6660aad16a5c /tools/perf/builtin-script.c
parentperf test: Make parallel testing the default (diff)
downloadkernel-553d5efeb341f2f814f937e0658ed7d22f625662.tar.gz
kernel-553d5efeb341f2f814f937e0658ed7d22f625662.zip
perf test: Add a signal handler to kill forked child processes
If the `perf test` process is killed the child tests continue running and may run indefinitely. Propagate SIGINT (ctrl-C) and SIGTERM (kill) signals to the running child processes so that they terminate when the parent is killed. Signed-off-by: Ian Rogers <[email protected]> Cc: Colin Ian King <[email protected]> Cc: Howard Chu <[email protected]> Cc: Weilin Wang <[email protected]> Cc: James Clark <[email protected]> Cc: Ilya Leoshkevich <[email protected]> Cc: Thomas Richter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Dapeng Mi <[email protected]> Cc: Athira Jajeev <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Veronika Molnarova <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions