Debian Codegraph @

testsuite/semok/pr11809.stp

raw
1 #!/bin/sh
2
3 # PR11809
4 # This stap command may or may not fail, depending on function/var
5 # availability. When it does fail, it should not be with "stack underflow".
6 stap $@ -e 'probe kernel.function("next_tgid") { println($iter->tgid) }' -p2 2>&1 |
7 grep "stack underflow"
8 [ "$?" -eq 1 ]