blob: 1f415be4b4dac94ca27bd46f9534537e97754068 [file] [log] [blame]
njnf2df9b52002-10-04 11:35:47 +00001#! /bin/sh
2
3dir=`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#
njn7d9f94d2003-04-22 21:41:40 +000025# Exit code: 0
26#
njnf2df9b52002-10-04 11:35:47 +000027# ...so chop all lines between first and last (inclusive)
28sed "/^Counted [0-9]\+ calls to _dl_runtime_resolve()$/ , \
29 /UInstrs : x86_instrs = [0-9]\+ : [0-9]\+/ \
30 d"
31