commit | cd8b89280c1c843756a2c95ed50a1a6446b42b52 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Fri May 04 14:49:55 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed May 09 17:25:14 2018 +0200 |
tree | 4a1ebb3883364046ca6ae5ebf740f31ac7ba9704 | |
parent | 7a01f6a3bd695d6d0f993a6df242a73a8b7c28c8 [diff] |
bpf: btf: Tests for BPF_OBJ_GET_INFO_BY_FD and BPF_BTF_GET_FD_BY_ID This patch adds test for BPF_BTF_GET_FD_BY_ID and the new btf_id/btf_key_id/btf_value_id in the "struct bpf_map_info". It also modifies the existing BPF_OBJ_GET_INFO_BY_FD test to reflect the new "struct bpf_btf_info". Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Alexei Starovoitov <ast@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>