Replies: 1 comment
|
Hi @YJesus, There may be no examples of |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
There are lot of examples for (*Map) Lookup but any for Update.
What I want to translate from C to Go is :
map_fd = bpf_object__find_map_fd_by_name(obj->obj, "NameOfMap");
bpf_map_update_elem(map_fd, &key, &value, BPF_ANY);
Thank you
All reactions