kernel/tools/perf/scripts/python/bin/syscall-counts-record

4 lines
111 B
Plaintext
Raw Normal View History

2024-07-22 17:22:30 +08:00
#!/bin/bash
(perf record -e raw_syscalls:sys_enter $@ || \
perf record -e syscalls:sys_enter $@) 2> /dev/null