linux-surface/tools/perf/scripts/python/bin/syscall-counts-by-pid-record
2017-08-10 09:25:24 -04:00

4 lines
111 B
Bash

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