From 6363542695045d39715c3d00a0d4863e6f85ada2 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 9 Apr 2010 15:30:40 -0700 Subject: runtime: delete malx, skip_depth argument to malloc remove internal functions from traces in gopprof instead. R=r CC=golang-dev https://golang.org/cl/855046 --- src/pkg/runtime/malloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pkg/runtime/malloc.h') diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h index caed4d3fc4..8b733b6a4a 100644 --- a/src/pkg/runtime/malloc.h +++ b/src/pkg/runtime/malloc.h @@ -346,7 +346,7 @@ MSpan* MHeap_Lookup(MHeap *h, PageID p); MSpan* MHeap_LookupMaybe(MHeap *h, PageID p); void MGetSizeClassInfo(int32 sizeclass, int32 *size, int32 *npages, int32 *nobj); -void* mallocgc(uintptr size, uint32 flag, int32 dogc, int32 zeroed, int32 skip_depth); +void* mallocgc(uintptr size, uint32 flag, int32 dogc, int32 zeroed); int32 mlookup(void *v, byte **base, uintptr *size, MSpan **s, uint32 **ref); void gc(int32 force); @@ -369,7 +369,7 @@ enum RefFlags = 0xFFFF0000U, }; -void MProf_Malloc(int32, void*, uintptr); +void MProf_Malloc(void*, uintptr); void MProf_Free(void*, uintptr); // Malloc profiling settings. -- cgit v1.3