|
@@ -288,7 +288,6 @@ func newTree(prof *profile.Profile, o *Options) (g *Graph) {
|
288
|
288
|
kept := o.KeptNodes
|
289
|
289
|
keepBinary := o.ObjNames
|
290
|
290
|
parentNodeMap := make(map[*Node]NodeMap, len(prof.Sample))
|
291
|
|
-nextSample:
|
292
|
291
|
for _, sample := range prof.Sample {
|
293
|
292
|
weight := o.SampleValue(sample.Value)
|
294
|
293
|
if weight == 0 {
|
|
@@ -311,7 +310,7 @@ nextSample:
|
311
|
310
|
}
|
312
|
311
|
n := nodeMap.findOrInsertLine(l, lines[lidx], keepBinary, kept)
|
313
|
312
|
if n == nil {
|
314
|
|
- continue nextSample
|
|
313
|
+ continue
|
315
|
314
|
}
|
316
|
315
|
n.addSample(weight, labels, sample.NumLabel, o.FormatTag, false)
|
317
|
316
|
if parent != nil {
|