]> Cypherpunks repositories - gostls13.git/commit
internal/pprof/profile: parse mutex profile including comments
authorHana Kim <hyangah@gmail.com>
Tue, 22 Nov 2016 21:09:28 +0000 (16:09 -0500)
committerPeter Weinberger <pjw@google.com>
Tue, 29 Nov 2016 18:04:37 +0000 (18:04 +0000)
commitb079869dadbb607aecbe9e2d38fbd13b89a5cc91
treeee68665907c38a46f3d4166922da5dce170466a6
parent7a92d0b1ae0c6a0f997a4282251e45668ca4ed75
internal/pprof/profile: parse mutex profile including comments

Skip lines if they are empty or starting with "#" which are valid
legacy pprof output format.

Fixes #18025

Change-Id: I7aee439171496932637b8ae3188700911f569b16
Reviewed-on: https://go-review.googlesource.com/33454
Reviewed-by: Peter Weinberger <pjw@google.com>
src/internal/pprof/profile/legacy_profile.go
src/internal/pprof/profile/profile_test.go