summaryrefslogtreecommitdiff
path: root/internal/flamegraph/livetrie.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/flamegraph/livetrie.go')
-rw-r--r--internal/flamegraph/livetrie.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/flamegraph/livetrie.go b/internal/flamegraph/livetrie.go
index 5487b9f..a682a0a 100644
--- a/internal/flamegraph/livetrie.go
+++ b/internal/flamegraph/livetrie.go
@@ -63,7 +63,7 @@ func NewLiveTrie(fields []string, countField string) *LiveTrie {
}
func (lt *LiveTrie) addLocked(frames []string, value uint64) {
- insertTriePath(lt.root, frames, value)
+ insertTriePath(lt.root, frames, value, value)
if len(frames) > lt.maxDepth {
lt.maxDepth = len(frames)
}