summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/ustack.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/ustack.stp')
-rwxr-xr-xtestsuite/buildok/ustack.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/buildok/ustack.stp b/testsuite/buildok/ustack.stp
new file mode 100755
index 00000000..23af0bff
--- /dev/null
+++ b/testsuite/buildok/ustack.stp
@@ -0,0 +1,10 @@
+#! stap -p4
+#
+# Test the translatability for ubacktrace(), print_ustack()
+# and print_ubacktrace()
+#
+probe begin
+{
+ print_ustack(ubacktrace());
+ print_ubacktrace();
+}