commit | af2a81dab44758de0b94679615ea75e8ee30aace | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Thu Aug 09 08:55:21 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Aug 10 20:54:07 2018 +0200 |
tree | 007389b3325d0ab9c5ce2a15f8b2116e1fbf34c8 | |
parent | 699c86d6ec21d0f885d12800249d138659de8489 [diff] |
tools/bpf: add bpffs pretty print btf test for hash/lru_hash maps Pretty print tests for hash/lru_hash maps are added in test_btf.c. The btf type blob is the same as pretty print array map test. The test result: $ mount -t bpf bpf /sys/fs/bpf $ ./test_btf -p BTF pretty print array......OK BTF pretty print hash......OK BTF pretty print lru hash......OK PASS:3 SKIP:0 FAIL:0 Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>