Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite bpf_create_map2 with libbpf primitives
This patch demonstrated how to use libbpf function calls. Specially, the bpf_map_create2 is changed to use libbpf functions bpf_create_map_name and bpf_create_map. Signed-off-by: Yonghong Song <yhs@fb.com>
- Loading branch information
1 parent
25d5c41
commit def5664
Showing
1 changed file
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters