commit | 61746dbe1aa27c9e23293621665b8442dfed7698 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Tue May 22 15:04:24 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed May 23 12:03:32 2018 +0200 |
tree | 10cf3d584e25f564d0cbc3653eb428dd21962f1d | |
parent | f03b15d34bd805e57bf69523b4dca7af10e9eeb1 [diff] |
bpf: btf: Add tests for the btf uapi changes This patch does the followings: 1. Modify libbpf and test_btf to reflect the uapi changes in btf 2. Add test for the btf_header changes 3. Add tests for array->index_type 4. Add err_str check to the tests 5. Fix a 4 bytes hole in "struct test #1" by swapping "m" and "n" Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>