-> 3.17.0 final.
[valgrind.git] / cachegrind / tests / filter_stderr
bloba0ae89968bdd0a401c2e33bff4fa19a365543a19
1 #! /bin/sh
3 dir=`dirname $0`
5 $dir/../../tests/filter_stderr_basic |
7 # Remove "Cachegrind, ..." line and the following copyright line.
8 sed "/^Cachegrind, a cache and branch-prediction profiler/ , /./ d" |
10 # Remove numbers from I/D/LL "refs:" lines
11 perl -p -e 's/((I|D|LL) *refs:)[ 0-9,()+rdw]*$/\1/' |
13 # Remove numbers from I1/D1/LL/LLi/LLd "misses:" and "miss rates:" lines
14 perl -p -e 's/((I1|D1|LL|LLi|LLd) *(misses|miss rate):)[ 0-9,()+rdw%\.]*$/\1/' |
16 # Remove CPUID warnings lines for P4s and other machines
17 sed "/warning: Pentium 4 with 12 KB micro-op instruction trace cache/d" |
18 sed "/Simulating a 16 KB I-cache with 32 B lines/d" |
19 sed "/warning: L3 cache found, using its data for the LL simulation./d" |
20 sed "/warning: L4 cache found, using its data for the LL simulation./d" |
21 sed "/Warning: Cannot auto-detect cache config, using defaults./d" |
22 sed "/Run with -v to see./d" |
23 sed "/warning: specified LL cache: line_size .*$/d" |
24 sed "/warning: simulated LL cache: line_size .*$/d"