mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-14 22:39:21 +00:00
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:
|
||
|---|---|---|
| .. | ||
| lib | ||
| buildid.sh | ||
| daemon.sh | ||
| pipe_test.sh | ||
| probe_vfs_getname.sh | ||
| record+probe_libc_inet_pton.sh | ||
| record+script_probe_vfs_getname.sh | ||
| record+zstd_comp_decomp.sh | ||
| stat_all_metricgroups.sh | ||
| stat_all_metrics.sh | ||
| stat_all_pmu.sh | ||
| stat_bpf_counters.sh | ||
| stat+csv_summary.sh | ||
| stat+shadow_stat.sh | ||
| test_arm_callgraph_fp.sh | ||
| test_arm_coresight.sh | ||
| test_arm_spe.sh | ||
| trace+probe_vfs_getname.sh | ||