summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/systemtap_test_module2.c
diff options
context:
space:
mode:
authorhiramatu <hiramatu>2007-09-12 16:48:00 +0000
committerhiramatu <hiramatu>2007-09-12 16:48:00 +0000
commitcf9be511f05d0b310b2c4ce4c050d3707be9e65a (patch)
tree66ca48f389da6fd0ad2ce64341b8ca0d5a62fb09 /testsuite/systemtap.context/systemtap_test_module2.c
parent737f98f027f838e976afae7b3586e1806e4ed26e (diff)
downloadsystemtap-steved-cf9be511f05d0b310b2c4ce4c050d3707be9e65a.tar.gz
systemtap-steved-cf9be511f05d0b310b2c4ce4c050d3707be9e65a.tar.xz
systemtap-steved-cf9be511f05d0b310b2c4ce4c050d3707be9e65a.zip
2007-09-12 Masami Hiramatsu <mhiramat@redhat.com>
PR 4633 * systemtap.context/backtrace.stp: Add testcases for the return probe and the profile probe. * systemtap.context/backtrace.tcl: Ditto. * /systemtap.context/systemtap_test_module2.c: Ditto.
Diffstat (limited to 'testsuite/systemtap.context/systemtap_test_module2.c')
-rw-r--r--testsuite/systemtap.context/systemtap_test_module2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.context/systemtap_test_module2.c b/testsuite/systemtap.context/systemtap_test_module2.c
index 35a28efb..51cb58bb 100644
--- a/testsuite/systemtap.context/systemtap_test_module2.c
+++ b/testsuite/systemtap.context/systemtap_test_module2.c
@@ -21,7 +21,11 @@
/** Here are all the functions we will probe **/
/* some nested functions to test backtraces */
+int noinline yyy_func4 (int foo) {
+ return foo + 1;
+}
int noinline yyy_func3 (int foo) {
+ foo = yyy_func4(foo);
return foo + 1;
}
int noinline yyy_func2 (int foo) {