aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-07-10 21:42:59 +0000
committerDaniel Borkmann <[email protected]>2018-07-11 20:13:33 +0000
commitb60df2a0e11fcd24186c312b0307ab8494031e27 (patch)
tree46028b7d5950e0aaa76e1de07aef751ef64a359a /tools/bpf/bpftool/prog.c
parenttools: bpftool: add support for loading programs for offload (diff)
downloadkernel-b60df2a0e11fcd24186c312b0307ab8494031e27.tar.gz
kernel-b60df2a0e11fcd24186c312b0307ab8494031e27.zip
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 <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Acked-by: Andrey Ignatov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions