doc/SystemTap_Beginners_Guide/testsuite/systemtap.maps/hist_in_string.exp
raw| 1 | # test histogram printed to string |
| 2 | |
| 3 | set test "hist_in_string" |
| 4 | set ::result_string {value |-------------------------------------------------- count |
| 5 | 0 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 128 |
| 6 | } |
| 7 | |
| 8 | foreach runtime [get_runtime_list] { |
| 9 | if {$runtime != ""} { |
| 10 | stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime |
| 11 | } else { |
| 12 | stap_run2 $srcdir/$subdir/$test.stp |
| 13 | } |
| 14 | } |