2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/tools/lib/bpf
Jakub Kicinski b60df2a0e1 tools: libbpf: expose the prog type guessing from section name logic
libbpf can guess program type based on ELF section names.  As libbpf
becomes more popular its association between section name strings and
types becomes more of a standard.  Allow libbpf users to use the same
logic for matching strings to types, e.g. when the string originates
from command line.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-07-11 22:13:33 +02:00
..
.gitignore tools lib bpf: Change FEATURE-DUMP to FEATURE-DUMP.libbpf 2015-11-05 12:47:51 -03:00
bpf.c tools/bpf: sync kernel header bpf.h and add bpf_task_fd_query in libbpf 2018-05-24 18:18:19 -07:00
bpf.h tools/bpf: sync kernel header bpf.h and add bpf_task_fd_query in libbpf 2018-05-24 18:18:19 -07:00
btf.c bpf: btf: Add tests for the btf uapi changes 2018-05-23 12:03:32 +02:00
btf.h bpf: btf: Add BTF support to libbpf 2018-04-19 21:46:25 +02:00
Build bpf: btf: Add BTF support to libbpf 2018-04-19 21:46:25 +02:00
libbpf.c tools: libbpf: expose the prog type guessing from section name logic 2018-07-11 22:13:33 +02:00
libbpf.h tools: libbpf: expose the prog type guessing from section name logic 2018-07-11 22:13:33 +02:00
Makefile libbpf: Install btf.h with libbpf 2018-05-28 00:25:32 +02:00
nlattr.c libbpf: add error reporting in XDP 2018-02-02 17:53:48 -08:00
nlattr.h libbpf: add error reporting in XDP 2018-02-02 17:53:48 -08:00