We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f321857 commit 3e74f2cCopy full SHA for 3e74f2c
pkg/storage/tree/flamebearer.go
@@ -35,8 +35,7 @@ func (t *Tree) FlamebearerStruct(maxNodes int) *Flamebearer {
35
levels = levels[1:]
36
37
name := string(tn.Name)
38
- if tn.Total > minVal || name == "other" {
39
-
+ if tn.Total >= minVal || name == "other" {
40
var i int
41
var ok bool
42
if i, ok = nameLocationCache[name]; !ok {
@@ -61,9 +60,8 @@ func (t *Tree) FlamebearerStruct(maxNodes int) *Flamebearer {
61
60
62
xOffset += int(tn.Self)
63
otherTotal := uint64(0)
64
65
for _, n := range tn.ChildrenNodes {
66
- if n.Total > minVal {
+ if n.Total >= minVal {
67
xOffsets = append([]int{xOffset}, xOffsets...)
68
levels = append([]int{level + 1}, levels...)
69
nodes = append([]*treeNode{n}, nodes...)
0 commit comments