• Ian Lance Taylor's avatar
    cmd/pprof: don't use local symbolization for remote source · 4fcb4eb2
    Ian Lance Taylor authored
    If we are using a remote source (a URL), and the user did not specify
    the executable file to use, then don't try to use a local source.
    This was misbehaving because the local symbolizer will not fail
    if there is any memory map available, but the presence of a memory map
    does not ensure that the files and symbols are actually available.
    
    We still need a pprof testsuite.
    
    Fixes #16159.
    
    Change-Id: I0250082a4d5181c7babc7eeec6bc95b2f3bcaec9
    Reviewed-on: https://go-review.googlesource.com/24464
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    Reviewed-by: 's avatarJoe Tsai <thebrokentoaster@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    4fcb4eb2
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...
yacc Loading commit data...