diff options
| author | Russ Cox <rsc@golang.org> | 2010-04-09 15:30:40 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-04-09 15:30:40 -0700 |
| commit | 6363542695045d39715c3d00a0d4863e6f85ada2 (patch) | |
| tree | 0c038cd0f1668e510d51195b96ff37adbc4b5e73 /src/pkg/runtime/malloc.h | |
| parent | 08852ffe80b30f8c46c7a9b68c56b0dee42584c4 (diff) | |
| download | go-6363542695045d39715c3d00a0d4863e6f85ada2.tar.xz | |
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
Diffstat (limited to 'src/pkg/runtime/malloc.h')
| -rw-r--r-- | src/pkg/runtime/malloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
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. |
