summaryrefslogtreecommitdiffstats
path: root/tapset/context.stp
diff options
context:
space:
mode:
authorguanglei <guanglei>2006-05-18 10:07:15 +0000
committerguanglei <guanglei>2006-05-18 10:07:15 +0000
commit739aa6f5209c3756d42de8380107f49891044bd8 (patch)
treea607b009430c3b89908fe8d8b948e50addeed441 /tapset/context.stp
parente55fe027da6703dd1222b2503f2a89cdb30eeea5 (diff)
downloadsystemtap-steved-739aa6f5209c3756d42de8380107f49891044bd8.tar.gz
systemtap-steved-739aa6f5209c3756d42de8380107f49891044bd8.tar.xz
systemtap-steved-739aa6f5209c3756d42de8380107f49891044bd8.zip
Check into CVS the tracing specific tapsets used by LKET.
And some minor changes to current tapsets
Diffstat (limited to 'tapset/context.stp')
-rw-r--r--tapset/context.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tapset/context.stp b/tapset/context.stp
index 00629900..9a46df19 100644
--- a/tapset/context.stp
+++ b/tapset/context.stp
@@ -136,3 +136,7 @@ function target:long () %{ /* pure */
%}
function returnval () { return retval () } # deprecated
+
+function stp_pid:long () %{ /* pure */
+ THIS->__retvalue = _stp_pid;
+%}