diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-26 22:26:45 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-26 22:26:45 +0300 |
| commit | f42d4f4f0b9d3faf38d2f3c3a9753a03440cdd24 (patch) | |
| tree | 68c19b9a0e4e15ef1704a7ddad3037d5b17ef381 /internal/flamegraph/livetrie.go | |
| parent | d97010869b08079cebb969ceb41fc9bd8823ef67 (diff) | |
flamegraph: add dual trie value/height totals (task po)
Diffstat (limited to 'internal/flamegraph/livetrie.go')
| -rw-r--r-- | internal/flamegraph/livetrie.go | 2 |
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) } |
