go/src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go

var commentStart

var tailDigitsRE

// interactive starts a shell to read pprof commands.
func interactive(p *profile.Profile, o *plugin.Options) error {}

var generateReportWrapper

// greetings prints a brief welcome and some overall profile
// information before accepting interactive commands.
func greetings(p *profile.Profile, ui plugin.UI) {}

type shortcuts

func (a shortcuts) expand(input string) []string {}

var pprofShortcuts

// profileShortcuts creates macros for convenience and backward compatibility.
func profileShortcuts(p *profile.Profile) shortcuts {}

func sampleTypes(p *profile.Profile) []string {}

func printCurrentOptions(p *profile.Profile, ui plugin.UI) {}

// parseCommandLine parses a command and returns the pprof command to
// execute and the configuration to use for the report.
func parseCommandLine(input []string) ([]string, config, error) {}

func catRegex(a, b string) string {}

// commandHelp displays help and usage information for all Commands
// and Variables or a specific Command or Variable.
func commandHelp(args string, ui plugin.UI) {}

// newCompleter creates an autocompletion function for a set of commands.
func newCompleter(fns []string) func(string) string {}

// matchVariableOrCommand attempts to match a string token to the prefix of a Command.
func matchVariableOrCommand(token string) string {}

// functionCompleter replaces provided substring with a function
// name retrieved from a profile if a single match exists. Otherwise,
// it returns unchanged substring. It defaults to no-op if the profile
// is not specified.
func functionCompleter(substring string, fns []string) string {}

func functionNames(p *profile.Profile) []string {}