Skip to content

cmd/trace: tolerate Go 1.22+ traces with broken tails #65316

@mknyszek

Description

@mknyszek

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.

Metadata

Metadata

Assignees

Labels

FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions