Skip to documentation
SLOP

alloc_observe.Producer

Reference alloc_observe Producer

Internal implementation documentation

Defined in alloc_observe.

Classifies the origin of an observed allocation event through tags: arena, bump, bufferfirst, fixedbuffer, debug, pool, process, phase, limit, boundary, sys_memory, and custom.

API (12)

Fields and members

Public fields and members.

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

Source

Source: lib/alloc/observe/src/protocol.zig:23

zig
/// Classifies the origin of an observed allocation event through tags: arena,/// bump, buffer_first, fixed_buffer, debug, pool, process, phase, limit,/// boundary, sys_memory, and custom. Each tag labels the reporting component/// rather than guaranteeing how that component manages memory or whether its/// reported operations cover all process allocations. For instance, an/// allocator tagged as an arena describes its own interface layer rather than/// certifying backing page reclamation or absence of uninstrumented memory/// traffic.pub const Producer = enum(u8) {    arena,    bump,    buffer_first,    fixed_buffer,    debug,    pool,    process,    phase,    limit,    boundary,    sys_memory,    custom,};

Source: lib/alloc/observe/src/root.zig:406

zig
/// Classifies the origin of an observed allocation event through tags: arena,/// bump, buffer_first, fixed_buffer, debug, pool, process, phase, limit,/// boundary, sys_memory, and custom. Each tag labels the reporting component/// rather than guaranteeing how that component manages memory or whether its/// reported operations cover all process allocations. For instance, an/// allocator tagged as an arena describes its own interface layer rather than/// certifying backing page reclamation or absence of uninstrumented memory/// traffic.pub const Producer = protocol.Producer;

Audit

Definitions1
Public names1
Members12
Version26.7.0
Revisiondaab053ee433