• Ian Lance Taylor's avatar
    runtime/pprof: document SetCPUProfile with c-archive/c-shared · 7688ffe1
    Ian Lance Taylor authored
    When using c-archive/c-shared, the signal handler for SIGPROF will not
    be installed, which means that runtime/pprof.StartCPUProfile won't work.
    There is no really good solution here, as the main program may want to
    do its own profiling.  For now, just document that runtime/pprof doesn't
    work as expected, but that it will work if you use Notify to install the
    Go signal handler.
    
    Fixes #14043.
    
    Change-Id: I7ff7a01df6ef7f63a7f050aac3674d640a246fb4
    Reviewed-on: https://go-review.googlesource.com/18911
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
    7688ffe1
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...