Directories ¶
Path | Synopsis |
---|---|
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
|
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof. |
Binary api computes the exported API of a set of Go packages.
|
Binary api computes the exported API of a set of Go packages. |
Asm, typically invoked as “go tool asm”, assembles the source file into an object file named for the basename of the argument source file with a .o suffix.
|
Asm, typically invoked as “go tool asm”, assembles the source file into an object file named for the basename of the argument source file with a .o suffix. |
internal/asm
Package asm implements the parser and instruction generator for the assembler.
|
Package asm implements the parser and instruction generator for the assembler. |
internal/flags
Package flags implements top-level flags and the usage message for the assembler.
|
Package flags implements top-level flags and the usage message for the assembler. |
internal/lex
Package lex implements lexical analysis for the assembler.
|
Package lex implements lexical analysis for the assembler. |
Cgo enables the creation of Go packages that call C code.
|
Cgo enables the creation of Go packages that call C code. |
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
|
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line. |
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'.
|
Cover is a program for analyzing the coverage profiles generated by 'go test -coverprofile=cover.out'. |
Doc (usually run as go doc) accepts zero, one or two arguments.
|
Doc (usually run as go doc) accepts zero, one or two arguments. |
Fix finds Go programs that use old APIs and rewrites them to use newer ones.
|
Fix finds Go programs that use old APIs and rewrites them to use newer ones. |
Go is a tool for managing Go source code.
|
Go is a tool for managing Go source code. |
Gofmt formats Go programs.
|
Gofmt formats Go programs. |
internal
|
|
gcprog
Package gcprog implements an encoder for packed GC pointer bitmaps, known as GC programs.
|
Package gcprog implements an encoder for packed GC pointer bitmaps, known as GC programs. |
goobj
Package goobj implements reading of Go object files and archives.
|
Package goobj implements reading of Go object files and archives. |
objfile
Package objfile implements portable access to OS-specific executable files.
|
Package objfile implements portable access to OS-specific executable files. |
Link, typically invoked as “go tool link,” reads the Go archive or object for a package main, along with its dependencies, and combines them into an executable binary.
|
Link, typically invoked as “go tool link,” reads the Go archive or object for a package main, along with its dependencies, and combines them into an executable binary. |
TODO(rsc): Handle go.typelink, go.track symbols.
|
TODO(rsc): Handle go.typelink, go.track symbols. |
Nm lists the symbols defined or used by an object file, archive, or executable.
|
Nm lists the symbols defined or used by an object file, archive, or executable. |
Objdump disassembles executable files.
|
Objdump disassembles executable files. |
Pack is a simple version of the traditional Unix ar tool.
|
Pack is a simple version of the traditional Unix ar tool. |
Pprof interprets and displays profiles of Go programs.
|
Pprof interprets and displays profiles of Go programs. |
internal/commands
Package commands defines and manages the basic pprof commands
|
Package commands defines and manages the basic pprof commands |
internal/driver
Package driver implements the core pprof functionality.
|
Package driver implements the core pprof functionality. |
internal/fetch
Package fetch provides an extensible mechanism to fetch a profile from a data source.
|
Package fetch provides an extensible mechanism to fetch a profile from a data source. |
internal/plugin
Package plugin defines the plugin implementations that the main pprof driver requires.
|
Package plugin defines the plugin implementations that the main pprof driver requires. |
internal/profile
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format.
|
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format. |
internal/report
Package report summarizes a performance profile into a human-readable report.
|
Package report summarizes a performance profile into a human-readable report. |
internal/svg
Package svg provides tools related to handling of SVG files
|
Package svg provides tools related to handling of SVG files |
internal/symbolizer
Package symbolizer provides a routine to populate a profile with symbol, file and line number information.
|
Package symbolizer provides a routine to populate a profile with symbol, file and line number information. |
internal/symbolz
Package symbolz symbolizes a profile using the output from the symbolz service.
|
Package symbolz symbolizes a profile using the output from the symbolz service. |
internal/tempfile
Package tempfile provides tools to create and delete temporary files
|
Package tempfile provides tools to create and delete temporary files |
Trace is a tool for viewing trace files.
|
Trace is a tool for viewing trace files. |
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
|
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
internal/whitelist
Package whitelist defines exceptions for the vet tool.
|
Package whitelist defines exceptions for the vet tool. |
Yacc is a version of yacc for Go.
|
Yacc is a version of yacc for Go. |
Click to show internal directories.
Click to hide internal directories.