summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context/systemtap_test_module2.c
diff options
context:
space:
mode:
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) {