systemtap/tests/Sanity/userspace-probes/testcase1.sh

4 lines
140 B
Bash
Raw Normal View History

#!/bin/bash
stap -e "probe process(\"$1/hello\").function(\"main\") { println(pn()) }" --runtime=dyninst -c "$1/hello" -o "$1/stapout.log"