Update memcheck description of C++ new and delete
[valgrind.git] / massif / tests / filter_verbose
blobd992e653f51c8717047495a5f208daf28fd192cd
1 #! /bin/sh
3 # This filters out all the lines that don't have "Massif:" in them. For
4 # testing the -v option.
6 dir=`dirname $0`
8 $dir/filter_stderr |
10 # Remove any --pid:0: strings (debuglog level zero output)
11 sed "/^--[0-9]\{1,7\}:0:*/d" |
13 # Only print lines that contain "Massif:". The -n means don't print any
14 # lines by default, and the 'p' means do print those that match the pattern.
15 sed -n "/Massif:/p" |
17 # These ignored heap counts could vary from machine to machine.
18 sed "s/\(Massif: ignored heap allocs:\).*/\1 .../" |
19 sed "s/\(Massif: ignored heap frees:\).*/\1 .../" |
20 sed "s/\(Massif: ignored heap reallocs:\).*/\1 .../" |
22 # These XPt counts vary from machine to machine, because the size of the
23 # stack trace can vary -- eg. some machines have more stack frames below
24 # zero than other machines. So filter them out.
25 sed "s/\(Massif: XPts:\).*/\1 .../" |
26 sed "s/\(Massif: top-XPts:\).*/\1 .../" |
27 sed "s/\(Massif: XPt init expansions:\).*/\1 .../" |
28 sed "s/\(Massif: XPt later expansions:\).*/\1 .../" |
29 sed "s/\(Massif: SXPt allocs:\).*/\1 .../" |
30 sed "s/\(Massif: SXPt frees:\).*/\1 .../" |
31 sed "s/\(Massif: XCon redos:\).*/\1 .../" |
32 sed "s/Massif: operator new(unsigned long/Massif: operator new(unsigned/" |
33 sed "s/Massif: operator new\[\](unsigned long/Massif: operator new\[\](unsigned/"