summaryrefslogtreecommitdiff
path: root/src/runtime/pprof
Commit message (Collapse)AuthorAgeFilesLines
* [dev.cc] runtime: convert scheduler from C to GoRuss Cox2014-11-111-1/+1
| | | | | | | | | | | | | The conversion was done with an automated tool and then modified only as necessary to make it compile and run. [This CL is part of the removal of C code from package runtime. See golang.org/s/dev.cc for an overview.] LGTM=r R=r, daniel.morsing CC=austin, dvyukov, golang-codereviews, iant, khr https://codereview.appspot.com/172260043
* runtime/pprof: fix memory profiler testDmitriy Vyukov2014-10-171-69/+21
| | | | | | | | | | | Don't use cmd/pprof as it is not necessary installed and does not work on nacl and plan9. Instead just look at the raw profile. LGTM=crawshaw, rsc R=golang-codereviews, crawshaw, 0intro, rsc CC=golang-codereviews https://codereview.appspot.com/159010043
* runtime/pprof: fix testRuss Cox2014-10-171-1/+1
| | | | | | | | | | | | | | gogo called from GC is okay for the same reasons that gogo called from System or ExternalCode is okay. All three are fake stack traces. Fixes issue 8408. LGTM=dvyukov, r R=r, dvyukov CC=golang-codereviews https://codereview.appspot.com/152580043
* runtime/pprof: disable new memory testRuss Cox2014-10-161-0/+1
| | | | | | | | | | | | | | | | It cannot run 'go tool pprof'. There is no guarantee that's installed. It needs to build a temporary pprof binary and run that. It also needs to skip the test on systems that can't build and run binaries, namely android and nacl. See src/cmd/nm/nm_test.go's TestNM for a template. Update issue 8867 Status: Accepted TBR=dvyukov CC=golang-codereviews https://codereview.appspot.com/153710043
* runtime: fix memory profilerDmitriy Vyukov2014-10-161-0/+146
| | | | | | | | | | | | | | | | There are 3 issues: 1. Skip argument of callers is off by 3, so that all allocations are deep inside of memory profiler. 2. Memory profiling statistics are not updated after runtime.GC. 3. Testing package does not update memory profiling statistics before capturing the profile. Also add an end-to-end test. Fixes issue 8867. LGTM=rsc R=rsc CC=golang-codereviews https://codereview.appspot.com/148710043
* undo CL 140110043 / 17b5fc2aa130Alex Brainman2014-09-091-4/+4
| | | | | | | | | | | | | | | | | | | | | I have found better approach, then longer wait. See CL 134360043 for details. ??? original CL description runtime/pprof: adjust cpuHogger so that tests pass on windows builders LGTM=rsc R=dvyukov, rsc CC=golang-codereviews https://codereview.appspot.com/140110043 Committer: Russ Cox <rsc@golang.org> ??? LGTM=dave R=golang-codereviews, dave, dvyukov CC=golang-codereviews https://codereview.appspot.com/133500043
* build: move package sources from src/pkg to srcRuss Cox2014-09-082-0/+1125
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.