1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:54:59 -07:00
go/src
Russ Cox b788fd80e6 runtime: new profile buffer implementation supporting label pointers
The existing CPU profiling buffer is a slice of uintptr, but we want to
start including profiling label data in the profiles, and those labels need
to be pointers in order to let them describe rich information.

This CL implements a new profBuf type that holds both a slice of uint64
for data and a slice of unsafe.Pointer for profiling labels (aka tags).
Making the runtime use these buffers will happen in followup CLs.

Change-Id: I9ff16b532d8edaf4ce0cbba1098229a561834efc
Reviewed-on: https://go-review.googlesource.com/36713
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2017-02-23 19:47:23 +00:00
..
archive
bufio
builtin
bytes bytes, strings: optimize Split* 2017-02-08 18:39:43 +00:00
cmd cmd/internal/browser: use xdg-open only from a desktop session 2017-02-23 19:17:15 +00:00
compress
container
context context: document that Err is unspecified before Done 2017-02-22 17:42:28 +00:00
crypto crypto/aes: minor ppc64 assembly naming improvements 2017-02-21 18:42:27 +00:00
database/sql database/sql: convert test timeouts to explicit waits with checks 2017-02-13 19:05:28 +00:00
debug debug/pe: add test to check dwarf info 2017-02-16 00:05:51 +00:00
encoding encoding/xml: fix incorrect indirect code in chardata, comment, innerxml fields 2017-02-14 23:23:40 +00:00
errors
expvar expvar: add benchmarks for steady-state Map Add calls 2017-02-14 22:11:35 +00:00
flag
fmt fmt: add short note about %g precision 2017-02-21 19:02:43 +00:00
go go/doc: allow : in godoc links 2017-02-18 06:35:36 +00:00
hash hash/crc32: use sub-benchmarks 2017-02-08 17:17:08 +00:00
html
image image/png: reduce memory allocs encoding images by reusing buffers 2017-02-12 05:40:47 +00:00
index/suffixarray
internal internal/poll: define PollDescriptor on plan9 2017-02-15 22:43:19 +00:00
io
log
math math: speed up and improve accuracy of Pow10 2017-02-22 19:17:04 +00:00
mime mime: add benchmarks for TypeByExtension and ExtensionsByType 2017-02-14 23:02:07 +00:00
net net: update IP.MarshalText documentation regarding len(ip) == 0 2017-02-22 19:59:21 +00:00
os os/exec: deflake TestStdinCloseRace 2017-02-21 17:12:57 +00:00
path path/filepath: add test for directory junction walk 2017-02-12 23:33:01 +00:00
plugin plugin: remove unnecessary import "C" from example 2017-02-09 18:32:53 +00:00
reflect reflect: fix bucketOf to only look at ptrdata entries in gcdata 2017-02-22 02:19:48 +00:00
regexp
runtime runtime: new profile buffer implementation supporting label pointers 2017-02-23 19:47:23 +00:00
sort sort: new example: Sorting slices with sort.SliceStable 2017-02-22 21:23:12 +00:00
strconv
strings strings: make parameters names less confusing 2017-02-11 19:55:21 +00:00
sync sync/atomic: fix mipsx frame sizes 2017-02-21 18:42:47 +00:00
syscall syscall: fix linux/mipsx ret value FP offsets for Syscall9 2017-02-21 18:43:02 +00:00
testing testing: fix stats bug for sub benchmarks 2017-02-15 09:26:33 +00:00
text text/template: fix method lookup on addressable nil pointer 2017-02-09 14:58:40 +00:00
time time: add Duration.Truncate and Duration.Round 2017-02-14 00:40:31 +00:00
unicode
unsafe
vendor/golang_org/x
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc