commit | 47eff61777c7b2db58805f974994713c8acbe9a6 | [log] [tgz] |
---|---|---|
author | Stanislav Fomichev <sdf@google.com> | Tue Nov 20 17:11:19 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Nov 21 23:25:33 2018 +0100 |
tree | f9219c583de26f8bb36e6f821ad3c15218a7de0c | |
parent | 8c4905b995c649ac71e21611abc2fcefc904b56a [diff] |
bpf, libbpf: introduce bpf_object__probe_caps to test BPF capabilities It currently only checks whether kernel supports map/prog names. This capability check will be used in the next two commits to skip setting prog/map names. Suggested-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>