summaryrefslogtreecommitdiff
path: root/internal/flamegraph/iordata.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-11 22:26:00 +0300
committerPaul Buetow <paul@buetow.org>2025-04-11 22:26:00 +0300
commitdd73ed4678a3623f1c71ceb88aec481de5b9d64e (patch)
tree342e62c9480bc1cacd20b270e6bb15906ddce406 /internal/flamegraph/iordata.go
parent0124c447f15539c24d1987f5339caa01ca5e9020 (diff)
jo
Diffstat (limited to 'internal/flamegraph/iordata.go')
-rw-r--r--internal/flamegraph/iordata.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/flamegraph/iordata.go b/internal/flamegraph/iordata.go
index cef01ff..1c2b0f4 100644
--- a/internal/flamegraph/iordata.go
+++ b/internal/flamegraph/iordata.go
@@ -26,8 +26,10 @@ type tidType = uint32
type flagsType = file.Flags
type pathMap map[pathType]map[traceIdType]map[commType]map[pidType]map[tidType]map[flagsType]Counter
+// iorData is a structure that holds data related to I/O operations.
+// It contains a map of paths, which is used to manage and store path-related information.
type iorData struct {
- paths pathMap // Make sure this field is accessible from outside
+ paths pathMap // paths is a map that stores path-related data. Note: This field is currently unexported.
}
func newIorData() iorData {