kernel/tools/perf/scripts/perl/bin/failed-syscalls-record
2024-07-22 17:22:30 +08:00

4 lines
109 B
Bash

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