Module alloc

Source

Structs§

HeapAllocator

Traits§

Allocator
A subset of the features of std::alloc::Allocator which is experimental. Changed the error types to anyhow::Error so we can forward libbpf_rs errors. This will likely need to be the empty struct std::alloc::AllocError if we migrate to the official trait (and panic accordingly).

Functions§

call_allocate_program
Helper to call an allocate program with the correct arguments.
call_deallocate_program
Helper to call a deallocate program with the correct arguments.

Type Aliases§

FreeList 🔒