fatal error: 'bpf/bpf_helpers.h' file not found #4584
Unanswered
karim-manaouil
asked this question in
Q&A
Replies: 1 comment
-
You should use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I installed
bcc
via the Debian's package manager. I tested it and it works in a very simple scenario with onlybpf_printk
in a syscall.However, when I included
bpf/bpf_helpers.h
to have the definition ofBPF_SNPRINTF
, I got the error in the title.I am not sure how
bcc
finds its headers. Assuming the usual way on Linux, I installedlibbpf-dev
, as well Linux kernel headers, and I have/usr/include/bpf/bpf_helpers.h
on my installation. So, I don't really know why I'm getting that error message. Would appreciate your help!Cheers!
Beta Was this translation helpful? Give feedback.
All reactions