diff options
Diffstat (limited to 'internal/flamegraph')
| -rw-r--r-- | internal/flamegraph/livetrie.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/flamegraph/livetrie.go b/internal/flamegraph/livetrie.go index 794b790..600e404 100644 --- a/internal/flamegraph/livetrie.go +++ b/internal/flamegraph/livetrie.go @@ -77,11 +77,10 @@ func (lt *LiveTrie) invalidateCache() { lt.cacheMu.Unlock() } -// Ingest adds one event pair into the live trie and recycles the pair. +// Ingest adds one event pair into the live trie. func (lt *LiveTrie) Ingest(ep *event.Pair) { record := eventPairToRecord(ep) lt.AddRecord(record) - ep.Recycle() } // AddRecord adds one already-decoded flamegraph record into the live trie. |
