summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/syscall-counts-record
blob: d6940841e54fc391fb7b7779d1adaa560f0d2e3a (plain)
1
2
3
#!/bin/bash
(perf record -e raw_syscalls:sys_enter $@ || \
 perf record -e syscalls:sys_enter $@) 2> /dev/null