xref: /linux/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
14d161f03STom Zanussi#!/bin/bash
24d161f03STom Zanussi# description: system-wide failed syscalls, by pid
34d161f03STom Zanussi# args: [comm]
400b21a01STom Zanussiif [ $# -gt 0 ] ; then
5a4ab0c12STom Zanussi    if ! expr match "$1" "-" > /dev/null ; then
600b21a01STom Zanussi	comm=$1
700b21a01STom Zanussi	shift
800b21a01STom Zanussi    fi
900b21a01STom Zanussifi
10*765532c8SArnaldo Carvalho de Meloperf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm
11