Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
error: 'BPF_FUNC_send_signal' was not declared #1014
Building master (
It can be reproduced in a
Please let me know if you need any more info from me.
Hmm what happens here is that your kernel supports send_signal but bcc does not:
We're using the kernel headers to verify whether the option is present but use the bpf.h shipped with bcc in the code generation.
I guess we could first check whether the kernel has the feature. If it does we check bcc. If bcc has it we set the flag. If bcc doesn't we emit a warning advising the user to upgrade to a bcc that has been synced with their kernel to enable more features.
Or maybe we can use the bpf.h shipped with the kernel.