diff options
| author | Roman Gushchin <guro@fb.com> | 2017-12-13 15:18:51 +0000 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2017-12-14 13:37:13 +0100 |
| commit | 583c90097f7271ab90f149b52b9ac2098bf2cbb5 (patch) | |
| tree | e373de139565faec82b867167abd5c7aed7e4eac /tools/bpf/bpftool/prog.c | |
| parent | bpf/tracing: fix kernel/events/core.c compilation error (diff) | |
| download | linux-583c90097f7271ab90f149b52b9ac2098bf2cbb5.tar.gz linux-583c90097f7271ab90f149b52b9ac2098bf2cbb5.zip | |
libbpf: add ability to guess program type based on section name
The bpf_prog_load() function will guess program type if it's not
specified explicitly. This functionality will be used to implement
loading of different programs without asking a user to specify
the program type. In first order it will be used by bpftool.
Signed-off-by: Roman Gushchin <guro@fb.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Quentin Monnet <quentin.monnet@netronome.com>
Cc: David Ahern <dsahern@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
