5 $dir/../../tests/filter_stderr_basic |
7 # Remove "Callgrind, ..." line and the following copyright line.
8 sed "/^Callgrind, a call-graph generating cache profiler/ , /./ d" |
10 # Remove pointer to callgrind_control
11 sed "/^For interactive control,.*$/d" |
13 # Remove numbers from "Collected" line
14 sed "s/^\(Collected *:\)[ 0-9]*$/\1/" |
16 # Remove numbers from I/D/L2 "refs:" lines
17 perl -p -e 's/((I|D|L2) *refs:)[ 0-9,()+rdw]*$/\1/' |
19 # Remove numbers from I1/D1/L2/L2i/L2d "misses:" and "miss rates:" lines
20 perl -p -e 's/((I1|D1|L2|L2i|L2d) *(misses|miss rate):)[ 0-9,()+rdw%\.]*$/\1/' |
22 # Remove CPUID warnings lines for P4s and other machines
23 sed "/warning: Pentium 4 with 12 KB micro-op instruction trace cache/d" |
24 sed "/Simulating a 16 KB I-cache with 32 B lines/d" |
25 sed "/warning: L3 cache detected but ignored/d" |
26 sed "/Warning: Cannot auto-detect cache config on PPC.., using one or more defaults/d"