Debian Codegraph @

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

raw
1 set test "bz1214176"
2
3 proc chk_rc {command} {
4 set rc [catch {eval exec "$command"} msg]
5 if {$rc == 0} { pass "$command" } else { fail "$command" }
6 }
7
8 chk_rc "stap -p4 -e { probe nfs.proc.read_done { println(server_ip) } }"
9 chk_rc "stap -p4 -e { probe nfs.proc.read_setup { println(count) } } "
10 chk_rc "stap -p4 -e { probe nfs.proc.rename { println(name) } }"
11
12
13