brintos

brintos / linux-shallow public Read only

0
0
Text · 258 B · fda5096 Raw
11 lines · plain
1#!/bin/bash2# description: system-wide failed syscalls, by pid3# args: [comm]4if [ $# -gt 0 ] ; then5    if ! expr match "$1" "-" > /dev/null ; then6	comm=$17	shift8    fi9fi10perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm11