]> sourceware.org Git - systemtap.git/commitdiff
*** empty log message ***
authorhunt <hunt>
Wed, 14 Jun 2006 00:29:18 +0000 (00:29 +0000)
committerhunt <hunt>
Wed, 14 Jun 2006 00:29:18 +0000 (00:29 +0000)
tapset/aux_syscalls.stp

index 856d66f896a2294810d54256d16ab1cc938fd581..fdfa60f2807d28efa3526e9e3007dc988dbdf642 100644 (file)
@@ -1377,3 +1377,8 @@ function _rusage_who_str(w) {
    return ""
 }
 
+/* for accessing 16-bit values encoded in a long */
+function __short:long(val:long) %{ /* pure */
+       THIS->__retvalue = (short)THIS->val;
+%}
+
This page took 0.031901 seconds and 5 git commands to generate.