summaryrefslogtreecommitdiffstats
path: root/tapset
diff options
context:
space:
mode:
Diffstat (limited to 'tapset')
-rw-r--r--tapset/ChangeLog3
-rw-r--r--tapset/utrace.stp11
2 files changed, 14 insertions, 0 deletions
diff --git a/tapset/ChangeLog b/tapset/ChangeLog
index b2592e1e..779a2e30 100644
--- a/tapset/ChangeLog
+++ b/tapset/ChangeLog
@@ -1,3 +1,6 @@
+2008-08-07 Frank Ch. Eigler <fche@elastic.org>
+
+ * utrace.stp: New file, for use by utrace $var expansions.
2008-08-04 Wenji Huang <wenji.huang@oracle.com>
diff --git a/tapset/utrace.stp b/tapset/utrace.stp
new file mode 100644
index 00000000..3831ca3c
--- /dev/null
+++ b/tapset/utrace.stp
@@ -0,0 +1,11 @@
+/* utrace-only subset of register accessors */
+
+
+%{
+#include "syscall.h"
+%}
+
+
+function _utrace_syscall_nr:long () %{
+ THIS->__retvalue = __stp_user_syscall_nr(CONTEXT->regs); /* pure */
+%}