Debian Codegraph @

testsuite/semok/nullpc.stp

raw
1 #! /bin/sh
2 # PR10574
3
4 stap $@ -p2 -e 'probe process("stap").function("*") { next }' \
5 | awk '/pc=.*0x0/ { zero += 1; print; next }
6 /pc=/ { nonzero += 1; next }
7 END { exit !(zero == 0 && nonzero > 0) }'