Open bravelll opened 2 years ago
问一下,我在map定义加了.pinning, .namespace 字段,在load的时候报extra contains unhandled non-zero bytes, drain before creating map struct bpf_map_def SEC("maps") blacklist = { .type = BPF_MAP_TYPE_HASH, .key_size = sizeof(u32), .value_size = sizeof(u32), .max_entries = 1024, .pinning = PIN_GLOBAL_NS, .namespace = "globals", };
问一下,我在map定义加了.pinning, .namespace 字段,在load的时候报extra contains unhandled non-zero bytes, drain before creating map struct bpf_map_def SEC("maps") blacklist = { .type = BPF_MAP_TYPE_HASH, .key_size = sizeof(u32), .value_size = sizeof(u32), .max_entries = 1024, .pinning = PIN_GLOBAL_NS, .namespace = "globals", };