misc/pprof: register cnew and runtime.cnewarray as malloc wrappers.

These functions were introduced by revision 139919984600
and should not show up on profiles for consistency.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/10003043
This commit is contained in:
Rémy Oudompheng 2013-06-05 00:40:49 +02:00
parent 2449909d81
commit 902ee9ae8f

View File

@ -2616,6 +2616,7 @@ sub RemoveUninterestingFrames {
'operator new[]',
# Go
'catstring',
'cnew',
'copyin',
'gostring',
'gostringsize',
@ -2640,6 +2641,8 @@ sub RemoveUninterestingFrames {
'unsafe.New',
'runtime.mallocgc',
'runtime.catstring',
'runtime.cnew',
'runtime.cnewarray',
'runtime.growslice',
'runtime.ifaceT2E',
'runtime.ifaceT2I',