From 3cec42574e444b7f91e2d887527bea45348ffb79 Mon Sep 17 00:00:00 2001 From: Srikar Dronamraju Date: Tue, 28 Oct 2008 16:13:01 -0400 Subject: PR5274: uretprobe vs. longjmp support --- testsuite/systemtap.base/bz5274.stp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 testsuite/systemtap.base/bz5274.stp (limited to 'testsuite/systemtap.base/bz5274.stp') diff --git a/testsuite/systemtap.base/bz5274.stp b/testsuite/systemtap.base/bz5274.stp new file mode 100755 index 00000000..b3e26d83 --- /dev/null +++ b/testsuite/systemtap.base/bz5274.stp @@ -0,0 +1,8 @@ +#! /bin/env stap +probe process("./bz5274").function("*").call { + printf("%s Entering %s\n", pp(), thread_indent(1)) +} +probe process("./bz5274").function("*").return { + printf("%s %s returns %s\n", pp(), thread_indent(-1), returnstr(2)) +} + -- cgit