How to share maps between bpf Programs? #4395
-
Is there a way for a bpf program to write into or read from a map created outside of it’s own program code? If yes, what sequence of steps need to be followed? |
Beta Was this translation helpful? Give feedback.
Answered by
shankarseal
May 5, 2025
Replies: 1 comment
-
Use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ExceptionalHandler
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
LIBBPF_PIN_BY_NAME
. Please refer to https://github.com/microsoft/ebpf-for-windows/blob/main/tests/sample/undocked/map_reuse.c.