|
|
@ -237,43 +237,43 @@ fn maybe_warn_rlimit() {
|
|
|
|
/// eBPF map types.
|
|
|
|
/// eBPF map types.
|
|
|
|
#[derive(Debug)]
|
|
|
|
#[derive(Debug)]
|
|
|
|
pub enum Map {
|
|
|
|
pub enum Map {
|
|
|
|
/// A [`Array`] map
|
|
|
|
/// An [`Array`] map.
|
|
|
|
Array(MapData),
|
|
|
|
Array(MapData),
|
|
|
|
/// A [`PerCpuArray`] map
|
|
|
|
/// A [`PerCpuArray`] map.
|
|
|
|
PerCpuArray(MapData),
|
|
|
|
PerCpuArray(MapData),
|
|
|
|
/// A [`ProgramArray`] map
|
|
|
|
/// A [`ProgramArray`] map.
|
|
|
|
ProgramArray(MapData),
|
|
|
|
ProgramArray(MapData),
|
|
|
|
/// A [`HashMap`] map
|
|
|
|
/// A [`HashMap`] map.
|
|
|
|
HashMap(MapData),
|
|
|
|
HashMap(MapData),
|
|
|
|
/// A [`PerCpuHashMap`] map
|
|
|
|
/// A [`PerCpuHashMap`] map.
|
|
|
|
PerCpuHashMap(MapData),
|
|
|
|
PerCpuHashMap(MapData),
|
|
|
|
/// A [`HashMap`] map that uses a LRU eviction policy.
|
|
|
|
/// A [`HashMap`] map that uses a LRU eviction policy.
|
|
|
|
LruHashMap(MapData),
|
|
|
|
LruHashMap(MapData),
|
|
|
|
/// A [`PerCpuHashMap`] map that uses a LRU eviction policy.
|
|
|
|
/// A [`PerCpuHashMap`] map that uses a LRU eviction policy.
|
|
|
|
PerCpuLruHashMap(MapData),
|
|
|
|
PerCpuLruHashMap(MapData),
|
|
|
|
/// A [`PerfEventArray`] map
|
|
|
|
/// A [`PerfEventArray`] map.
|
|
|
|
PerfEventArray(MapData),
|
|
|
|
PerfEventArray(MapData),
|
|
|
|
/// A [`SockMap`] map
|
|
|
|
/// A [`SockMap`] map.
|
|
|
|
SockMap(MapData),
|
|
|
|
SockMap(MapData),
|
|
|
|
/// A [`SockHash`] map
|
|
|
|
/// A [`SockHash`] map.
|
|
|
|
SockHash(MapData),
|
|
|
|
SockHash(MapData),
|
|
|
|
/// A [`BloomFilter`] map
|
|
|
|
/// A [`BloomFilter`] map.
|
|
|
|
BloomFilter(MapData),
|
|
|
|
BloomFilter(MapData),
|
|
|
|
/// A [`LpmTrie`] map
|
|
|
|
/// A [`LpmTrie`] map.
|
|
|
|
LpmTrie(MapData),
|
|
|
|
LpmTrie(MapData),
|
|
|
|
/// A [`Stack`] map
|
|
|
|
/// A [`Stack`] map.
|
|
|
|
Stack(MapData),
|
|
|
|
Stack(MapData),
|
|
|
|
/// A [`StackTraceMap`] map
|
|
|
|
/// A [`StackTraceMap`] map.
|
|
|
|
StackTraceMap(MapData),
|
|
|
|
StackTraceMap(MapData),
|
|
|
|
/// A [`Queue`] map
|
|
|
|
/// A [`Queue`] map.
|
|
|
|
Queue(MapData),
|
|
|
|
Queue(MapData),
|
|
|
|
/// A [`CpuMap`] map
|
|
|
|
/// A [`CpuMap`] map.
|
|
|
|
CpuMap(MapData),
|
|
|
|
CpuMap(MapData),
|
|
|
|
/// A [`DevMap`] map
|
|
|
|
/// A [`DevMap`] map.
|
|
|
|
DevMap(MapData),
|
|
|
|
DevMap(MapData),
|
|
|
|
/// A [`DevMapHash`] map
|
|
|
|
/// A [`DevMapHash`] map.
|
|
|
|
DevMapHash(MapData),
|
|
|
|
DevMapHash(MapData),
|
|
|
|
/// A [`XskMap`] map
|
|
|
|
/// A [`XskMap`] map.
|
|
|
|
XskMap(MapData),
|
|
|
|
XskMap(MapData),
|
|
|
|
/// An unsupported map type
|
|
|
|
/// An unsupported map type
|
|
|
|
Unsupported(MapData),
|
|
|
|
Unsupported(MapData),
|
|
|
|