diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-10-20 20:38:57 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-21 14:49:12 +0200 |
commit | f1eead9e3ceef67b98be4b55ed1bfcfa4497b7db (patch) | |
tree | a07798031fd8a292c208edb054e46d24d44c6bad /scripts | |
parent | bc3f2956f2b2241aac339d0a1ab7e3a0b8fcc886 (diff) | |
download | linux-f1eead9e3ceef67b98be4b55ed1bfcfa4497b7db.tar.bz2 |
libbpf: Add bpf_program__get_{type, expected_attach_type) APIs
There are bpf_program__set_type() and
bpf_program__set_expected_attach_type(), but no corresponding getters,
which seems rather incomplete. Fix this.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191021033902.3856966-3-andriin@fb.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions