-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
CherryPickApprovedUsed during the release process for point releasesUsed during the release process for point releasesFrozenDueToAgerelease-blocker
Milestone
Description
cpuProfile.addExtra is called from the Go profiling signal handler to flush any accumulated non-Go profiling samples. If we lost any non-Go profiling samples, it flushes this as a special _LostExternalCode
sample. However, it fails to reset the lost sample count, so every subsequent addExtra
call will record another _LostExternalCode
sample.
This fix should be as simple as setting p.lostExtra
to 0, but this should get back-ported to 1.9.1.
Metadata
Metadata
Assignees
Labels
CherryPickApprovedUsed during the release process for point releasesUsed during the release process for point releasesFrozenDueToAgerelease-blocker