summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-04-08 10:59:27 +0200
committerMark Wielaard <mjw@redhat.com>2009-04-08 10:59:27 +0200
commit48cde708db9e1662047def94c2dfd7ffe28aa765 (patch)
treef6eea87ccb3cf63b94d4b310b7fad91d5bb06af2 /testsuite/buildok
parenta7f1270e24a77ab8338604ab14ee928a421f89a0 (diff)
downloadsystemtap-steved-48cde708db9e1662047def94c2dfd7ffe28aa765.tar.gz
systemtap-steved-48cde708db9e1662047def94c2dfd7ffe28aa765.tar.xz
systemtap-steved-48cde708db9e1662047def94c2dfd7ffe28aa765.zip
Add uaddr() context tapset function.
* tapset/context.stp (uaddr): New sfunction. * testsuite/buildok/uaddr.stp: New test.
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/uaddr.stp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/buildok/uaddr.stp b/testsuite/buildok/uaddr.stp
new file mode 100755
index 00000000..8acfc495
--- /dev/null
+++ b/testsuite/buildok/uaddr.stp
@@ -0,0 +1,8 @@
+#! stap -p4
+#
+# Test the translatability for uaddr()
+#
+probe begin
+{
+ printf("uaddr: 0x%x\n", uaddr())
+}