This website requires JavaScript.
Explore
Help
Register
Sign In
AuxXxilium
/
linux_dsm_epyc7002
Watch
1
Star
0
Fork
0
You've already forked linux_dsm_epyc7002
mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced
2024-12-23 08:33:45 +07:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
3d74243db8
linux_dsm_epyc7002
/
tools
/
lib
/
bpf
/
Build
2 lines
42 B
Plaintext
Raw
Normal View
History
Unescape
Escape
bpf: btf: Add BTF support to libbpf If the ".BTF" elf section exists, libbpf will try to create a btf_fd (through BPF_BTF_LOAD). If that fails, it will still continue loading the bpf prog/map without the BTF. If the bpf_object has a BTF loaded, it will create a map with the btf_fd. libbpf will try to figure out the btf_key_id and btf_value_id of a map by finding the BTF type with name "<map_name>_key" and "<map_name>_value". If they cannot be found, it will continue without using the BTF. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Alexei Starovoitov <ast@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-04-19 05:56:05 +07:00
libbpf-y := libbpf.o bpf.o nlattr.o btf.o
Reference in New Issue
Copy Permalink