aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/linux/kvm.h
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2022-04-28 10:19:47 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-05-08 21:48:49 -0300
commit45fa7c38696bae632310c2876ba81fdfa25cc9c2 (patch)
tree417331d5aa6755da2e094b618dd475bfc44b1b56 /tools/include/uapi/linux/kvm.h
parentperf bench: Fix two numa NDEBUG warnings (diff)
downloadlinux-dev-45fa7c38696bae632310c2876ba81fdfa25cc9c2.tar.xz
linux-dev-45fa7c38696bae632310c2876ba81fdfa25cc9c2.zip
perf tests: Fix coresight `perf test` failure.
Currently the `perf test` always fails the coresight test like: 89: Check Arm CoreSight trace data recording and synthesized samples: FAILED! That is because the test_arm_coresight.sh is attempting to SIGINT the parent but is using $$ rather than $PPID and it sigint's itself when run under the perf test framework. Since this is done in a trap clause it ends up returning a non zero return. Since $PPID is a bash ism and not all distros are linking /bin/sh to bash, the alternative parent pid lookups are uglier than just dropping the kill, and its not strictly needed, lets pick the simple solution and drop the sigint. Fixes: 133fe2e617e48ca0 ("perf tests: Improve temp file cleanup in test_arm_coresight.sh") Reviewed-by: James Clark <james.clark@arm.com> Signed-off-by: Jeremy Linton <jeremy.linton@arm.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@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Jeremy Linton <jeremy.linton@arm.com> Link: https://lore.kernel.org/r/20220428151947.290146-1-jeremy.linton@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions