summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/bz10078.stp
diff options
context:
space:
mode:
authorJim Keniston <jkenisto@us.ibm.com>2009-04-20 16:39:26 -0700
committerJim Keniston <jkenisto@us.ibm.com>2009-04-20 16:39:26 -0700
commit436e5bf634020bcb9f98967891508db21f9e6cbd (patch)
treeaa0b83ff4089ab4f15be10d7ffeb94eea2255960 /testsuite/systemtap.base/bz10078.stp
parentd1b6c2866b35575219fb36fa2307c9f87e876750 (diff)
downloadsystemtap-steved-436e5bf634020bcb9f98967891508db21f9e6cbd.tar.gz
systemtap-steved-436e5bf634020bcb9f98967891508db21f9e6cbd.tar.xz
systemtap-steved-436e5bf634020bcb9f98967891508db21f9e6cbd.zip
PR10078: uretprobes on functions returning structs/unions
arch_predict_sp_at_ret() for x86_32 now accommodates ret $4. Added bz10078 regression test.
Diffstat (limited to 'testsuite/systemtap.base/bz10078.stp')
-rw-r--r--testsuite/systemtap.base/bz10078.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/bz10078.stp b/testsuite/systemtap.base/bz10078.stp
new file mode 100644
index 00000000..0318e4e9
--- /dev/null
+++ b/testsuite/systemtap.base/bz10078.stp
@@ -0,0 +1,4 @@
+#! stap -p4
+probe process("./bz10078").function("mkpoint*").return {
+ printf("%s returns\n", probefunc())
+}