commit | 3f4d4c74101d60b88d23289bd4f5f6126c7235fc | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Fri Apr 26 16:39:46 2019 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Sat Apr 27 09:07:05 2019 -0700 |
tree | 66e9ffe057aa4888a9878033486b7a43a32f93f2 | |
parent | a19f89f3667c950ad13c1560e4abd8aa8526b6b1 [diff] |
bpf: Refactor BTF encoding macro to test_btf.h Refactor common BTF encoding macros for other tests to use. The libbpf may reuse some of them in the future which requires some more thoughts before publishing as a libbpf API. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>