(c string, redirect bool)
| 325 | } |
| 326 | |
| 327 | func 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. |
| 341 | func browsers() []string { |
no outgoing calls
no test coverage detected
searching dependent graphs…