diff options
author | James Clark <james.clark@arm.com> | 2021-09-21 15:10:09 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-10-26 16:17:46 +0200 |
commit | 133fe2e617e48ca0948983329f43877064ffda3e (patch) | |
tree | a8342a9af22c04a915b3a4e35c9b46822e3ce0e1 /tools/build | |
parent | perf tests: Fix trace+probe_vfs_getname.sh /tmp cleanup (diff) | |
download | linux-133fe2e617e48ca0948983329f43877064ffda3e.tar.xz linux-133fe2e617e48ca0948983329f43877064ffda3e.zip |
perf tests: Improve temp file cleanup in test_arm_coresight.sh
Cleanup perf.data.old files which are also dropped by perf, handle
sigint and propagate it to the parent in case the test is run in a bash
while loop and don't create the temp files if the test will be skipped.
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: James Clark <james.clark@arm.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20210921131009.390810-3-james.clark@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build')
0 files changed, 0 insertions, 0 deletions