-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: simplify trace buffer management around footer
Writing out the trace footer currently manages trace buffers differently from the rest of trace code. Rearrange it so it looks like the rest of the code. In particular, we now write the frequency event out to the trace buffer rather than returning it in a special byte slice, and (*traceStackTable).dump threads a traceBufPtr like most other functions that write to the trace buffers. Change-Id: I3d0e108e56df884e7bd19823310dfbc0e21af9a5 Reviewed-on: https://go-review.googlesource.com/c/go/+/422974 Reviewed-by: Michael Knyszek <[email protected]> Run-TryBot: Austin Clements <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters