From cf9be511f05d0b310b2c4ce4c050d3707be9e65a Mon Sep 17 00:00:00 2001 From: hiramatu Date: Wed, 12 Sep 2007 16:48:00 +0000 Subject: 2007-09-12 Masami Hiramatsu 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. --- testsuite/systemtap.context/systemtap_test_module2.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testsuite/systemtap.context/systemtap_test_module2.c') 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) { -- cgit