Skip to content

cmd/go,cmd/trace: document the trace command #11605

@robpike

Description

@robpike

go help testflag does not mention the -trace flag

The output of go tool trace -help is unhelpful:

Usage of 'go tool trace':
Given a trace file produced by 'go test':
go test -trace=trace.out pkg

Open a web browser displaying trace:
go tool trace [flags] pkg.test trace.out

Flags:
-http=addr: HTTP service address (e.g., ':6060')

Also, shortly after the 1.5 release, there should be a blog post about the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions