
/malloc\(/ {
  mcount[$1 $2]++;
  mbytes[$1 $2]+=substr($3,8);
}

END {
  for(f in mcount) print f " " mcount[f] " " mbytes[f]
}
