cmd/trace: tolerate Go 1.22+ traces with broken tails #65316
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Because Go 1.22+ traces are partitioned, it's possible to isolate broken partitions and remove them from the trace data. This is especially useful if a crash happens while tracing.
Currently cmd/trace rejects any trace that isn't completely parseable, but it could easily discard a broken trace tail and report how much of the trace it discarded.
The text was updated successfully, but these errors were encountered: