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

Function dropEmptyStrings

internal/driver/driver.go:244–251  ·  view source on GitHub ↗

dropEmptyStrings filters a slice to only non-empty strings

(in []string)

Source from the content-addressed store, hash-verified

242
243// dropEmptyStrings filters a slice to only non-empty strings
244func dropEmptyStrings(in []string) (out []string) {
245 for _, s := range in {
246 if s != "" {
247 out = append(out, s)
248 }
249 }
250 return
251}
252
253func aggregate(prof *profile.Profile, cfg config) error {
254 var function, filename, linenumber, address bool

Callers 1

generateTagRootsLeavesFunction · 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…