Home | History | Annotate | Download | only in tests
      1 #! /bin/sh
      2 
      3 dir=`dirname $0`
      4 
      5 $dir/../../tests/filter_stderr_basic                |
      6 
      7 # Remove "Massif, ..." line and the following copyright line.
      8 sed "/^Massif, a heap profiler/ , /./ d" |
      9 
     10 # Remove AIX-only alloc-fns
     11 perl -n -e 'print if !/^Massif:   (malloc|calloc|realloc|memalign)_common$/' |
     12 
     13 # Remove Darwin-only alloc-fns
     14 perl -n -e 'print if !/^Massif:   malloc_zone_(malloc|calloc|realloc|memalign|valloc)$/'
     15 
     16 
     17