python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Unable to fetch data using bpf_map_lookup_elem()
I am trying to write a code for XDP where a user space program will populate a bpf map and then later the Kernel will look into the map. For creating the map I have added a SEC(".maps") in t...
Rishab
Votes: 0
Answers: 1
What is the difference between syscalls openat and sys_enter_openat?
I see for python BCC implementation the syscall __x64_sys_openat is used to attach a kprobe, however in libbpf implementation a kprobe is attached to sys_enter_openat. It seems both capture openat() s...
phoxd
Votes: 0
Answers: 1
BPF lib documentation
I have created an app with BPF library(https://github.com/libbpf/libbpf). Unfortunately it does not have documentation or at least I have not found it yet. Only thing I have found is this https://libb...
Zakys98
Votes: 0
Answers: 1
Error fixing up map structure, incompatible struct bpf_elf_map used?
I am trying to learn ebpf map. Compiling the code with libbpf but getting the error like "Error fixing up map structure, incompatible struct bpf_elf_map used?". Here is my ebpf code:
#inclu...
Omar Faroque Anik
Votes: 0
Answers: 1