systemtap/tests/Sanity/userspace-probes/testcase1.sh
Martin Cermak 107122a4e8 CI tests: Add more tests
- Separate the "stap-prep" phase out to a separate phase
 - Add tests/Sanity/byteman-java-methods-probing
 - Add tests/Sanity/kernel-modules
 - Add tests/Sanity/userspace-probes
 - Add tests/Sanity/stap-server-basic-sanity
 - Add tests/Regression/small-tests
2021-06-09 16:28:54 +02:00

4 lines
140 B
Bash
Executable File

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