Skip to documentation
SLOP

alloc_observe.Operation

Reference 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.

No direct callersNo direct callsalloc_observeOperation
Static calls · unresolved targets: unknown · external targets: unknown.

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

Definitions1
Public names1
Members5
Version26.7.0
Revisiondaab053ee433