Closed Maple1401 closed 10 months ago
Document description > 4.17, but I tried both 4.19 and 5.4, but it didn’t work. I upgraded to 5.15 and it was no problem.
Hi @Maple1401 and @1473371932 , thank you for your input.
It was probably caused because the older Kernel didn't have BTF enabled and a later upgrade included BTF.
We will anyway review the current functions and adjust the requirements to it.
Document description > 4.17, but I tried both 4.19 and 5.4, but it didn’t work. I upgraded to 5.15 and it was no problem.
struct {
__uint(type, BPF_MAP_TYPE_RINGBUF);
__uint(max_entries, 1 << 24);
} events SEC(".maps");
Because ringbuf requires kernel version >= 5.8
We actually upgraded the requirements to Kernel 5.8 in the documentation: https://grafana.com/docs/beyla/latest/#requirements
Closing this task. Thank you for your input!
ERROR Message
time=2023-09-19T10:26:01.225+08:00 level=ERROR msg="couldn't trace process" component=ebpf.TracerProvider err="loading and assigning BPF objects: field UprobeWriteHeader: program uprobe_WriteHeader: map events: map create: invalid argument (without BTF k/v)" path=/coredns pid=2646
when i upgrade the kernel to 5.15 , this problem was fixed.