blob: 8f48d2b5c1ed80e44f2c0ec98d4d6d42b9d2815e [file] [log] [blame]
njn25e49d8e72002-09-23 09:36:25 +00001#! /bin/sh
2
3dir=`dirname $0`
4
njn25cac76cb2002-09-23 11:21:57 +00005$dir/../../tests/filter_stderr_basic |
njn25e49d8e72002-09-23 09:36:25 +00006
njn6a3009b2005-03-20 00:20:06 +00007# Remove "Cachegrind, ..." line and the following copyright line.
njncab64bc2009-08-12 00:14:44 +00008sed "/^Cachegrind, a cache and branch-prediction profiler/ , /./ d" |
njn6a3009b2005-03-20 00:20:06 +00009
njn2d853a12010-10-06 22:46:31 +000010# Remove numbers from I/D/LL "refs:" lines
11perl -p -e 's/((I|D|LL) *refs:)[ 0-9,()+rdw]*$/\1/' |
njn25e49d8e72002-09-23 09:36:25 +000012
njn2d853a12010-10-06 22:46:31 +000013# Remove numbers from I1/D1/LL/LLi/LLd "misses:" and "miss rates:" lines
14perl -p -e 's/((I1|D1|LL|LLi|LLd) *(misses|miss rate):)[ 0-9,()+rdw%\.]*$/\1/' |
sewardjd5412292003-05-05 16:18:51 +000015
njn4fe49432005-08-16 02:30:24 +000016# Remove CPUID warnings lines for P4s and other machines
sewardj96f77242005-10-20 00:30:30 +000017sed "/warning: Pentium 4 with 12 KB micro-op instruction trace cache/d" |
18sed "/Simulating a 16 KB I-cache with 32 B lines/d" |
sewardjef53b802010-10-07 13:33:28 +000019sed "/warning: L3 cache found, using its data for the LL simulation./d" |
cborntra5d978712012-11-07 07:57:01 +000020sed "/warning: L4 cache found, using its data for the LL simulation./d" |
florian78627012012-10-07 19:47:04 +000021sed "/Warning: Cannot auto-detect cache config, using defaults./d" |
22sed "/Run with -v to see./d" |
weidendo96795182011-06-27 17:26:19 +000023sed "/warning: pretending that LL cache has associativity .*$/d"