Debian Codegraph @

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

raw
1 # Very simple function to test that systemtap can generate a kernel module,
2 # install it, and get some output.
3
4 set test "simple"
5
6 #check to see whether get the marker indicating the probe is loaded and running
7 #should check to see whether exited for some reason
8 #should be error is something else is printed.
9 foreach runtime [get_runtime_list] {
10 if {$runtime != ""} {
11 stap_run $test "" "" --runtime=$runtime $srcdir/$subdir/$test.stp
12 } else {
13 stap_run $test "" "" $srcdir/$subdir/$test.stp
14 }
15 }