njn | f2df9b5 | 2002-10-04 11:35:47 +0000 | [diff] [blame] | 1 | #! /bin/sh |
| 2 | |
| 3 | dir=`dirname $0` |
| 4 | |
| 5 | $dir/../../tests/filter_stderr_basic | |
| 6 | |
| 7 | # Output looks like this... |
| 8 | # |
| 9 | # Counted 53 calls to _dl_runtime_resolve() |
| 10 | # |
| 11 | # Executed: |
| 12 | # BBs: 47131 |
| 13 | # x86 instrs: 193330 |
| 14 | # UInstrs: 523996 |
| 15 | # |
| 16 | # Jccs: |
| 17 | # total: 36368 |
| 18 | # % taken: 58% |
| 19 | # |
| 20 | # Ratios: |
| 21 | # x86 instrs : BB = 41 : 10 |
| 22 | # UInstrs : BB = 111 : 10 |
| 23 | # UInstrs : x86_instr = 27 : 10 |
| 24 | # |
njn | 7d9f94d | 2003-04-22 21:41:40 +0000 | [diff] [blame^] | 25 | # Exit code: 0 |
| 26 | # |
njn | f2df9b5 | 2002-10-04 11:35:47 +0000 | [diff] [blame] | 27 | # ...so chop all lines between first and last (inclusive) |
| 28 | sed "/^Counted [0-9]\+ calls to _dl_runtime_resolve()$/ , \ |
| 29 | /UInstrs : x86_instrs = [0-9]\+ : [0-9]\+/ \ |
| 30 | d" |
| 31 | |