Closed TuuuanZi closed 9 months ago
Did you download the code or typed it out (maybe you made a typo?)?
I didn't have any problems running it on 6.6.1 (openSUSE Tumbleweed), so maybe a distro specific bug?
I would recommend using the provided VM configuration to get started. I have not tested this code on a 6.6 kernel
Hello I run the code from the ch2, but something went wrong. Here is the ERROR generated by python:
but it works when I delete
bpf_probe_read_kernel(&data.message, sizeof(data.message), message);
I'm new in eBPF, and I want to figure out what's wrong with this line thanks a lot!Here is my kernel version