summaryrefslogtreecommitdiff
path: root/internal/event/pair.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-20 07:23:45 +0300
committerPaul Buetow <paul@buetow.org>2026-05-20 07:23:45 +0300
commitdf1225efe494cc81513cf98e93891376e45f9615 (patch)
tree8fe131ba9ae5737022f26fcd60e662c1660329c6 /internal/event/pair.go
parent11a8642b7035ff558fb84d7761e93525c84e4908 (diff)
task 07: add KindMem and separate address-space byte accounting
Diffstat (limited to 'internal/event/pair.go')
-rw-r--r--internal/event/pair.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/event/pair.go b/internal/event/pair.go
index 1626e88..115323b 100644
--- a/internal/event/pair.go
+++ b/internal/event/pair.go
@@ -26,6 +26,9 @@ type Pair struct {
Duration uint64
DurationToPrev uint64
Bytes uint64 // Number of bytes transferred (read/write/transfer syscalls only)
+ // AddressSpaceBytes tracks memory-region extent for memory syscalls
+ // (e.g. munmap/mremap) and is intentionally separate from I/O bytes.
+ AddressSpaceBytes uint64
}
func NewPair(enterEv Event) *Pair {