diff options
Diffstat (limited to 'testsuite/systemtap.context/pid.stp')
-rw-r--r-- | testsuite/systemtap.context/pid.stp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/systemtap.context/pid.stp b/testsuite/systemtap.context/pid.stp new file mode 100644 index 00000000..41833273 --- /dev/null +++ b/testsuite/systemtap.context/pid.stp @@ -0,0 +1,15 @@ +probe module("systemtap_test_module2").function("yyy_int") { + printf("execname: %s\n", execname()) + printf("pexecname: %s\n", pexecname()) + printf("pid: %d\n", pid()) + printf("ppid: %d\n", ppid()) + printf("tid: %d\n", tid()) + printf("uid: %d\n", uid()) + printf("euid: %d\n", euid()) + printf("gid: %d\n", gid()) + printf("egid: %d\n", egid()) + exit() +} +probe begin { + printf("READY\n") +} |