MCPcopy Create free account
hub / github.com/google/pprof / listHelp

Function listHelp

internal/driver/commands.go:327–338  ·  view source on GitHub ↗
(c string, redirect bool)

Source from the content-addressed store, hash-verified

325}
326
327func listHelp(c string, redirect bool) string {
328 h := []string{
329 c + "<func_regex|address> [-focus_regex]* [-ignore_regex]*",
330 "Include functions matching func_regex, or including the address specified.",
331 "Include samples matching focus_regex, and exclude ignore_regex.",
332 }
333 if redirect {
334 h[0] += " >f"
335 h = append(h, "Optionally save the report on the file f")
336 }
337 return strings.Join(h, "\n")
338}
339
340// browsers returns a list of commands to attempt for web visualization.
341func browsers() []string {

Callers 1

commands.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…