1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:40:04 -07:00
go/src/libmach
Russ Cox 6e2ae0a12c runtime/pprof: support OS X CPU profiling
Work around profiling kernel bug with signal masks.
Still broken on 64-bit Snow Leopard kernel,
but I think we can ignore that one and let people
upgrade to Lion.

Add new trivial tools addr2line and objdump to take
the place of the GNU tools of the same name, since
those are not installed on OS X.

Adapt pprof to invoke 'go tool addr2line' and
'go tool objdump' if the system tools do not exist.

Clean up disassembly of base register on amd64.

Fixes #2008.

R=golang-dev, bradfitz, mikioh.mikioh, r, iant
CC=golang-dev
https://golang.org/cl/5697066
2012-02-28 16:18:24 -05:00
..
5.c
5db.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
5obj.c ld: add NOPTRBSS for large, pointer-free uninitialized data 2012-02-21 22:08:42 -05:00
6.c
6obj.c
8.c
8db.c runtime/pprof: support OS X CPU profiling 2012-02-28 16:18:24 -05:00
8obj.c
access.c
darwin.c
elf.h
executable.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
fakeobj.c
freebsd.c
linux.c
machdata.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
macho.h
Makefile build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
map.c
netbsd.c os: OS-dependent bits to support NetBSD. 2011-12-15 12:19:19 -05:00
obj.c
obj.h
openbsd.c
plan9.c libmach: add stubs for Plan 9 2012-01-31 18:13:17 -08:00
setmach.c
swap.c
sym.c libmach: fix for Plan 9 build 2011-11-18 23:11:50 -05:00
windows.c