--- zzzz-none-000/linux-3.10.107/tools/perf/scripts/perl/bin/failed-syscalls-record 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/tools/perf/scripts/perl/bin/failed-syscalls-record 2021-02-04 17:41:59.000000000 +0000 @@ -1,2 +1,3 @@ #!/bin/bash -perf record -e raw_syscalls:sys_exit $@ +(perf record -e raw_syscalls:sys_exit $@ || \ + perf record -e syscalls:sys_exit $@) 2> /dev/null