summaryrefslogtreecommitdiff
path: root/misc/pprof
Commit message (Collapse)AuthorAgeFilesLines
* misc/pprof: support web profiles on windows/MinGWChaiShushan2014-07-231-2/+8
| | | | | | | | | LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://codereview.appspot.com/117060043 Committer: Brad Fitzpatrick <bradfitz@golang.org>
* misc/pprof: always use go tool objdump on windowsAlex Brainman2014-05-151-0/+1
| | | | | | | | | Fixes issue 7406. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://codereview.appspot.com/97440043
* runtime: more precise mprof samplingDmitriy Vyukov2014-02-121-0/+1
| | | | | | | | | | Better sampling of objects that are close in size to sampling rate. See the comment for details. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://codereview.appspot.com/43830043
* misc/pprof: support web profiles on windowsDmitriy Vyukov2014-02-101-0/+7
| | | | | | | LGTM=bradfitz R=golang-codereviews, bradfitz, alex.brainman CC=golang-codereviews https://codereview.appspot.com/61260044
* misc/pprof: support block profileDmitriy Vyukov2013-09-231-2/+3
| | | | | | | | Fixes issue 6347. R=golang-dev, rsc CC=golang-dev https://codereview.appspot.com/13845044
* misc/pprof: work with either LWP::UserAgent or curlBrad Fitzpatrick2013-08-291-37/+62
| | | | | | | | | | | | | Use either LWP::UserAgent or curl to make HTTP requests so it works on Windows (most Perl distros include LWP::UserAgent), and also on OS X (whose Perl at least sometimes doesn't include LWP::UserAgent). Fixes issue 6273 R=golang-dev, alex.brainman, cldorian CC=golang-dev https://codereview.appspot.com/13330044
* misc/pprof: pprof http used with net/http/pprof not working on windows/amd64Shivakumar GN2013-08-271-47/+50
| | | | | | | | | | | | | | | | | | Removed posix assumptions in temporary file generation Removed curl dependence Changed opening of svg file These must now work including symbol resolution. [1] go tool pprof <prog_name> http://.../debug/pprof/profile [2] go tool pprof http://.../debug/pprof/profile Fixes 6177. R=golang-dev, alex.brainman, bradfitz, kamil.kisiel CC=golang-dev https://codereview.appspot.com/13085043 Committer: Brad Fitzpatrick <bradfitz@golang.org>
* misc/pprof: pprof on windows does not provide demangled namesShivakumar GN2013-08-091-20/+27
| | | | | | | | | | Fixes issue 6034. R=golang-dev, bradfitz, alex.brainman, dan.kortschak CC=golang-dev https://codereview.appspot.com/12311044 Committer: Alex Brainman <alex.brainman@gmail.com>
* misc/pprof: fix html5 doctype declarationShenghou Ma2013-06-091-1/+1
| | | | | | R=golang-dev, bradfitz CC=golang-dev https://codereview.appspot.com/10099045
* misc/pprof: register cnew and runtime.cnewarray as malloc wrappers.R?my Oudompheng2013-06-051-0/+3
| | | | | | | | | These functions were introduced by revision 139919984600 and should not show up on profiles for consistency. R=golang-dev, iant CC=golang-dev https://codereview.appspot.com/10003043
* misc/pprof: fix address lookup regression on LinuxJeff R. Allen2013-03-131-5/+3
| | | | | | | | | | | | | Just use "go tool addr2line" no matter what, since we know it works for all OSs. Fixes issue 4818. R=rsc, r CC=golang-dev https://codereview.appspot.com/7526047 Committer: Rob Pike <r@golang.org>
* cmd/pprof: never use c++filtRuss Cox2013-03-111-16/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The copy of c++filt shipped on OS X is six years old, and in our case it does far more mangling than it does demangling. People on non-OS X systems will have a working nm --demangle, so this won't affect them. $ sw_vers ProductName: Mac OS X ProductVersion: 10.8.2 BuildVersion: 12C2034 $ c++filt --version GNU c++filt 070207 20070207 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. $ $ go tool nm -n revcomp | grep quoteWith 4f560 T strconv.quoteWith $ go tool nm -n revcomp | grep quoteWith | c++filt f560 T strconv.quoteWith $ $ nm -n revcomp | grep quoteWith 000000000004f560 t _strconv.quoteWith $ nm -n revcomp | grep quoteWith | c++filt 000000000004f560 unsigned short _strconv.quoteWith $ Fixes issue 4818. R=golang-dev, r, bradfitz CC=golang-dev https://codereview.appspot.com/7729043
* misc/pprof: don't look for browser in current directory.R?my Oudompheng2012-12-211-4/+2
| | | | | | | | | | Taken from upstream pprof. Fixes issue 4564. R=golang-dev, minux.ma CC=golang-dev https://codereview.appspot.com/6952045
* pprof: fix https URLs and 'profiler in use' errorsRuss Cox2012-12-101-12/+16
| | | | | | | | | Fixes issue 3666. Fixes issue 3680. R=golang-dev, iant CC=golang-dev https://codereview.appspot.com/6899054
* pprof: filter out runtime.settype and fix --svg mode to produce valid XMLBrad Fitzpatrick2012-10-151-3/+14
| | | | | | R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/6642043
* pprof: make it work on windows againAlex Brainman2012-08-181-10/+8
| | | | | | | | | | | | | | - pprof is a perl script, so go command should invoke perl instead of trying to run pprof directly; - pprof should use "go tool nm" unconditionally on windows, no one else can extract symbols from Go program; - pprof should use "go tool nm" instead of "6nm". Fixes issue 3879. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/6445082
* runtime/pprof, misc/pprof: correct profile of total allocations.R?my Oudompheng2012-05-311-8/+12
| | | | | | | | | | The previous heap profile format did not include buckets with zero used bytes. Also add several missing MemStats fields in debug mode. R=golang-dev, rsc CC=golang-dev, remy http://codereview.appspot.com/6249068
* runtime/pprof: support OS X CPU profilingRuss Cox2012-02-281-11/+24
| | | | | | | | | | | | | | | | | | | | | | 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 issue 2008. R=golang-dev, bradfitz, mikioh.mikioh, r, iant CC=golang-dev http://codereview.appspot.com/5697066
* cmd/dist: exclude cov and prof from releasesRuss Cox2012-02-141-0/+5025
Also check for old and exp. Fixes issue 2764. Fixes issue 2765. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/5654068