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