diff options
Diffstat (limited to 'testsuite/parseko/cmdline15.stp')
-rwxr-xr-x | testsuite/parseko/cmdline15.stp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/parseko/cmdline15.stp b/testsuite/parseko/cmdline15.stp new file mode 100755 index 00000000..c02f97ae --- /dev/null +++ b/testsuite/parseko/cmdline15.stp @@ -0,0 +1,7 @@ +#!/bin/sh + +# options '-c cmd' and '-x pid' are mutually exclusive +# +# -c CMD start the probes, run CMD, and exit when it finishes +# -x PID sets target() to PID +stap -p1 -c /bin/ls -x 100 -e 'probe begin { exit() }' |