Symptom:
When we run bpf program, we get below errorchdir(/lib/modules/4.14.35-1844.5.3.el7uek.x86_64/build): No such file or directory
panic: runtime error: invalid memory address or nil pointer dereference
panic: runtime error: invalid memory address or nil pointer dereference
Solution:
We need to install bcc tools via yum install bcc-toolsWe need to install kernel devel
Redhat: yum install kernel-devel-`uname -r`
Oracle Linux: yum install kernel-uek-devel-`uname -r`
No comments:
Post a Comment