cmd/pprof: discrepency between pprof list and weblist #27473
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.11 darwin/amd64
Does this issue reproduce with the latest release?
YES
What operating system and processor architecture are you using (
go env
)?What did you do?
Using this code:
https://github.com/ardanlabs/gotraining/tree/master/topics/go/profiling/memcpu
I ran this set of commands:
What did you expect to see?
I saw the
weblist
view was different (and more accurate) then thelist
viewweblist view
list view .
What did you see instead?
Notice the
weblist
view is showing the allocation is flat, which is correct since the call to NewBuffer is inlined. Maybe more important the views are different. Please keep the allocationflat
on the report, because it is more accurate with what the compiler chose to do.The text was updated successfully, but these errors were encountered: