LoadElf(prog.o) failed: loadAndCreateMaps() failed: map.Create() failed: ebpfObjPin to '/sys/fs/bpf/name_persistence_map' failed: File exists
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
exist kprobe program with map:
```c
BPF_MAP_DEF(pinfo_map) = {
.map_type = BPF_MAP_TYPE_HASH,
.key_size = sizeof(key_type),
.value_size = sizeof(struct event),
.max_entries = 65535,
.persistent_path = "/sys/fs/bpf/pinfo",
};
BPF_MAP_ADD(pinfo_map);
```,
and there is a TC program that should look for values by key in this map. How init this map in TC-program?
If you initiate also, there will be an error:
`LoadElf(tc_prog.o) failed: loadAndCreateMaps() failed: map.Create() failed: ebpfObjPin to '/sys/fs/bpf/pinfo' failed: File exists`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.