• Dmitriy Vyukov's avatar
    runtime: fix and improve CPU profiling · 8a3c587d
    Dmitriy Vyukov authored
    - do not lose profiling signals when we have no mcache (possible for syscalls/cgo)
    - do not lose any profiling signals on windows
    - fix profiling of cgo programs on windows (they had no m->thread setup)
    - properly setup tls in cgo programs on windows
    - check _beginthread return value
    
    Fixes #6417.
    Fixes #6986.
    
    R=alex.brainman, rsc
    CC=golang-codereviews
    https://golang.org/cl/44820047
    8a3c587d
Name
Last commit
Last update
..
asm_386.s Loading commit data...
asm_amd64.s Loading commit data...
asm_arm.s Loading commit data...
callbacks.c Loading commit data...
cgo.go Loading commit data...
dragonfly.c Loading commit data...
freebsd.c Loading commit data...
gcc_386.S Loading commit data...
gcc_amd64.S Loading commit data...
gcc_arm.S Loading commit data...
gcc_darwin_386.c Loading commit data...
gcc_darwin_amd64.c Loading commit data...
gcc_dragonfly_386.c Loading commit data...
gcc_dragonfly_amd64.c Loading commit data...
gcc_freebsd_386.c Loading commit data...
gcc_freebsd_amd64.c Loading commit data...
gcc_freebsd_arm.c Loading commit data...
gcc_linux_386.c Loading commit data...
gcc_linux_amd64.c Loading commit data...
gcc_linux_arm.c Loading commit data...
gcc_netbsd_386.c Loading commit data...
gcc_netbsd_amd64.c Loading commit data...
gcc_netbsd_arm.c Loading commit data...
gcc_openbsd_386.c Loading commit data...
gcc_openbsd_amd64.c Loading commit data...
gcc_setenv.c Loading commit data...
gcc_util.c Loading commit data...
gcc_windows_386.c Loading commit data...
gcc_windows_amd64.c Loading commit data...
iscgo.c Loading commit data...
libcgo.h Loading commit data...
netbsd.c Loading commit data...
openbsd.c Loading commit data...
setenv.c Loading commit data...