alloc_observe.Operation
Internal implementation documentation
Defined in alloc_observe.
Identifies raw allocator virtual table operations (alloc, resize, remap, and free) alongside lifecycle transitions.
API (5)
Fields and members
Public fields and members.
Source
Source: lib/alloc/observe/src/protocol.zig:45
zig
/// Identifies raw allocator virtual table operations (alloc, resize, remap, and/// free) alongside lifecycle transitions. Values represent logical actions/// reported by an allocator interface rather than physical memory changes in/// the operating system. A successful free event records that an allocator/// finished its logical deallocation procedure, which does not guarantee that/// underlying virtual address pages or physical bytes were returned to the/// kernel.pub const Operation = enum(u8) { alloc, resize, remap, free, lifecycle,};Source: lib/alloc/observe/src/root.zig:384
zig
/// Identifies raw allocator virtual table operations (alloc, resize, remap, and/// free) alongside lifecycle transitions. Values represent logical actions/// reported by an allocator interface rather than physical memory changes in/// the operating system. A successful free event records that an allocator/// finished its logical deallocation procedure, which does not guarantee that/// underlying virtual address pages or physical bytes were returned to the/// kernel.pub const Operation = protocol.Operation;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 5 |
| Version | 26.7.0 |
| Revision | daab053ee433 |