-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: the BPF_PROG_LOAD syscall failed. #1002
Comments
You are trying to access a static item, which is not supported in BPF. You will need to maintain state in a BPF map: The eBPF Virtual Machine, where our eBPF programs will be run, is a constrained runtime environment:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I used a variable initialized to 0 in the program, an error occurred while loading the ebpf program.
The test code is as follows:
The error message is as follows:
The text was updated successfully, but these errors were encountered: