• Russ Cox's avatar
    runtime/pprof: support OS X CPU profiling · 6e2ae0a1
    Russ Cox authored
    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
    6e2ae0a1
Name
Last commit
Last update
..
5.c Loading commit data...
5db.c Loading commit data...
5obj.c Loading commit data...
6.c Loading commit data...
6obj.c Loading commit data...
8.c Loading commit data...
8db.c Loading commit data...
8obj.c Loading commit data...
Makefile Loading commit data...
access.c Loading commit data...
darwin.c Loading commit data...
elf.h Loading commit data...
executable.c Loading commit data...
fakeobj.c Loading commit data...
freebsd.c Loading commit data...
linux.c Loading commit data...
machdata.c Loading commit data...
macho.h Loading commit data...
map.c Loading commit data...
netbsd.c Loading commit data...
obj.c Loading commit data...
obj.h Loading commit data...
openbsd.c Loading commit data...
plan9.c Loading commit data...
setmach.c Loading commit data...
swap.c Loading commit data...
sym.c Loading commit data...
windows.c Loading commit data...