summaryrefslogtreecommitdiff
path: root/internal/flamegraph/collapsed.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-23 14:06:34 +0200
committerPaul Buetow <paul@buetow.org>2025-03-23 14:06:34 +0200
commitacb50fbc6f5ea2b97613593c7aea21304f3fb459 (patch)
treec3de35dbf87a8a4733f43873a25378d9c1766869 /internal/flamegraph/collapsed.go
parent5417e99f8e54121cddbff9296131e7f0fb1001a9 (diff)
add flags from fdinfo info
add other warning about vanished pid
Diffstat (limited to 'internal/flamegraph/collapsed.go')
-rw-r--r--internal/flamegraph/collapsed.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/flamegraph/collapsed.go b/internal/flamegraph/collapsed.go
index 2a4c7f0..3d2724e 100644
--- a/internal/flamegraph/collapsed.go
+++ b/internal/flamegraph/collapsed.go
@@ -23,6 +23,7 @@ func (c *counter) merge(other counter) {
// traceid, path is by default set in this order
// store an intermediate format which then can be converted to the others...
// e.g. path ¶ traceid ¶ comm ¶ pid ¶ tid ¶ flags ¶ counter
+// counter can also have bytes (for reads and writes)
type collapsed map[string]map[types.TraceId]counter
// TODO: Unit test this