Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/if.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 "if"
5
6 foreach runtime [get_runtime_list] {
7 if {$runtime != ""} {
8 stap_run $test no_load $all_pass_string \
9 --runtime=$runtime $srcdir/$subdir/$test.stp
10 } else {
11 stap_run $test no_load $all_pass_string $srcdir/$subdir/$test.stp
12 }
13 }