linux-zen-server/tools/perf/scripts/python/bin/failed-syscalls-by-pid-record

4 lines
109 B
Plaintext
Raw Normal View History

2023-08-30 17:53:23 +02:00
#!/bin/bash
(perf record -e raw_syscalls:sys_exit $@ || \
perf record -e syscalls:sys_exit $@) 2> /dev/null