summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorMalte Nuhn <nuhn@physik.rwth-aachen.de>2009-05-08 12:20:33 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-05-08 12:20:33 -0400
commite361ac2bdb6f1996e020a5612cec71762b556e25 (patch)
treedf4cb5075d375b7e698fb8317d753adaa6bb5b97 /testsuite/buildok
parent07f8225311f85de5754bb594bf6ee945425dafcc (diff)
downloadsystemtap-steved-e361ac2bdb6f1996e020a5612cec71762b556e25.tar.gz
systemtap-steved-e361ac2bdb6f1996e020a5612cec71762b556e25.tar.xz
systemtap-steved-e361ac2bdb6f1996e020a5612cec71762b556e25.zip
context tapset: sid() function to return task session leader pid
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/context_test.stp1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/buildok/context_test.stp b/testsuite/buildok/context_test.stp
index 84f1cbf1..d0b42890 100755
--- a/testsuite/buildok/context_test.stp
+++ b/testsuite/buildok/context_test.stp
@@ -18,6 +18,7 @@ function print_stuff () {
printf("gid is %d\n", gid())
printf("egid is %d\n", egid())
printf("pp is %s\n", pp())
+ printf("sid is %d\n", sid())
}
probe kernel.function("uptime_read_proc") ? {