summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/context_test.stp
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemyslaw@pawelczyk.it>2009-06-13 16:58:30 +0200
committerJosh Stone <jistone@redhat.com>2009-06-15 12:50:29 -0700
commit74f2951cc3b5d4f3716e23d284a2b3a0767eb5c2 (patch)
treeadda1b9bef83534b81867075de1329b463963945 /testsuite/buildok/context_test.stp
parent5111fc3e27f24347f61db6465da934a19b553ee6 (diff)
downloadsystemtap-steved-74f2951cc3b5d4f3716e23d284a2b3a0767eb5c2.tar.gz
systemtap-steved-74f2951cc3b5d4f3716e23d284a2b3a0767eb5c2.tar.xz
systemtap-steved-74f2951cc3b5d4f3716e23d284a2b3a0767eb5c2.zip
Add pgrp() context tapset function. Describe sid().
* tapset/context.stp: Add pgrp() function. * testsuite/buildok/context_test.stp: Add pgrp() call. * stapfuncs.3stap.in: Describe pgrp() and sid(). Signed-off-by: Josh Stone <jistone@redhat.com>
Diffstat (limited to 'testsuite/buildok/context_test.stp')
-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 acc4ea07..e58c8997 100755
--- a/testsuite/buildok/context_test.stp
+++ b/testsuite/buildok/context_test.stp
@@ -18,5 +18,6 @@ probe begin {
printf("gid is %d\n", gid())
printf("egid is %d\n", egid())
printf("pp is %s\n", pp())
+ printf("pgrp is %d\n", pgrp())
printf("sid is %d\n", sid())
}