pprof

command
v0.0.0-...-313ecc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2019 License: MIT, BSD-3-Clause Imports: 15 Imported by: 0

README

The pprof in this directory is adapted from the pprof used inside Google
for C++, Java, and Go programs. Because it was developed for that broader
context, it is overgeneralized when used here for the specific use case
of profiling standard Go programs. However, we've left the abstractions
intact in order to share updates between this copy and Google's internal one.

Please do not take the level of abstraction in this program as an example
to follow in your own.

Documentation

Overview

Pprof interprets and displays profiles of Go programs.

Usage:

go tool pprof binary profile

For more information, see https://blog.golang.org/profiling-go-programs.

Directories

Path Synopsis
internal
commands
Package commands defines and manages the basic pprof commands
Package commands defines and manages the basic pprof commands
driver
Package driver implements the core pprof functionality.
Package driver implements the core pprof functionality.
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.
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.
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.
report
Package report summarizes a performance profile into a human-readable report.
Package report summarizes a performance profile into a human-readable report.
svg
Package svg provides tools related to handling of SVG files
Package svg provides tools related to handling of SVG files
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.
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.
tempfile
Package tempfile provides tools to create and delete temporary files
Package tempfile provides tools to create and delete temporary files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL