Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/finloop2.exp

raw
1 # Simple function to test that systemtap can generate a kernel module that
2 # instruments a function, install it, and get some output.
3
4 set test "finloop2"
5
6 # better have a count other than zero to show that probe fired
7 set output_string "count = \[1-9\]\[0-9\]*\r\nloop_count = \[1-9\]\[0-9\]*\r\nsystemtap test success\r\n"
8
9 stap_run $test no_load $output_string $srcdir/$subdir/$test.stp