| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# options '-A' and '-c cmd' are mutually exclusive |
| 4 |
# |
| 5 |
# -A Attach to loaded systemtap module. |
| 6 |
# -c cmd Command 'cmd' will be run and staprun will |
| 7 |
# exit when it does. The '_stp_target' variable |
| 8 |
# will contain the pid for the command. |
| 9 |
staprun -A -c bash fake_module |