xref: /linux/tools/perf/scripts/perl/bin/failed-syscalls-record (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1#!/bin/bash
2(perf record -e raw_syscalls:sys_exit $@ || \
3 perf record -e syscalls:sys_exit $@) 2> /dev/null
4