H3-BSP4-4-linux/tools/perf/scripts/python/bin/syscall-counts-by-pid-record
2017-12-01 01:00:54 +08:00

3 lines
111 B
Shell

#!/bin/bash
(perf record -e raw_syscalls:sys_enter $@ || \
perf record -e syscalls:sys_enter $@) 2> /dev/null