Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectSample ¶
SelectSample returns the index of the sample to use given the sample names.
Types ¶
type Options ¶
type Options struct { BaseURL string `short:"u" long:"url" default:"http://localhost:8080" description:"Base URL of your Go program"` URLSuffix string `long:"suffix" default:"/debug/pprof/profile" description:"URL path of pprof profile"` BinaryFile string `` /* 158-byte string literal not displayed */ BinaryName string `long:"binaryname" description:"File path of the binary that the binaryinput is for, used for pprof inputs"` TimeSeconds int `short:"t" long:"seconds" default:"30" description:"Number of seconds to profile for"` ExtraArgs []string `long:"pprofArgs" description:"Extra arguments for pprof"` TimeAlias *int `hidden:"true" long:"time" description:"Alias for backwards compatibility"` }
Options are parameters for pprof.
Click to show internal directories.
Click to hide internal directories.