-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Feature fix libbpf examples #327
base: master
Are you sure you want to change the base?
Feature fix libbpf examples #327
Conversation
@@ -0,0 +1,5 @@ | |||
## BPF map example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it might be better to rename the example to map-op?
And, can you try loading a eBPF program and running it in the kernel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure @yunwei37
Hi @hp77-creator , is it ready to merge? |
Hi @yunwei37 , so I am able to compile the example but when I try to run it using
I will need to create a userspace program to run it, right? |
maybe you need to try something like DYLD_INSERT_LIBRARIES or DYLD_LIBRARY_PATH? I'm not quite sure about that |
1354316
to
a6a132b
Compare
Adding example to run a sample ebpf program which uses a map and updates a value in the map.