11 lines · plain
1#!/bin/bash2# description: system-wide failed syscalls3# args: [comm]4if [ $# -gt 0 ] ; then5 if ! expr match "$1" "-" > /dev/null ; then6 comm=$17 shift8 fi9fi10perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/failed-syscalls.pl $comm11