MaeBPF.Schema.MapSpec (maebpf v0.1.0)

Copy Markdown View Source

Compiled BPF map specification capturing kernel geometry, key/value schemas, and a deterministic SHA-256 layout fingerprint.

Summary

Types

map_type()

@type map_type() ::
  :hash
  | :array
  | :prog_array
  | :perf_event_array
  | :percpu_hash
  | :percpu_array
  | :stack_trace
  | :lru_hash
  | :lru_percpu_hash
  | :lpm_trie
  | :ringbuf

t()

@type t() :: %MaeBPF.Schema.MapSpec{
  fingerprint: <<_::256>>,
  flags: non_neg_integer(),
  key: MaeBPF.Schema.t(),
  max_entries: pos_integer(),
  name: String.t(),
  type: map_type(),
  value: MaeBPF.Schema.t()
}