diff options
| author | Roman Gushchin <[email protected]> | 2017-12-13 15:18:51 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2017-12-14 12:37:13 +0000 |
| commit | 583c90097f7271ab90f149b52b9ac2098bf2cbb5 (patch) | |
| tree | e373de139565faec82b867167abd5c7aed7e4eac /tools/bpf/bpftool/prog.c | |
| parent | bpf/tracing: fix kernel/events/core.c compilation error (diff) | |
| download | kernel-583c90097f7271ab90f149b52b9ac2098bf2cbb5.tar.gz kernel-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 <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Quentin Monnet <[email protected]>
Cc: David Ahern <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
