]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: test kernel bpffs map pretty print with struct kind_flag
authorYonghong Song <yhs@fb.com>
Sun, 16 Dec 2018 06:13:56 +0000 (22:13 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 18 Dec 2018 00:12:00 +0000 (01:12 +0100)
commit2a840fee4c6b77c800863a272375ec260514b804
tree7d293fefc4feb90b5ab42c03b165e7f1816ff8c8
parentf980d5e279e21fe1c762470359cdfc5e66c96606
tools/bpf: test kernel bpffs map pretty print with struct kind_flag

The new tests are added to test bpffs map pretty print in kernel with kind_flag
for structure type.

  $ test_btf -p
  ......
  BTF pretty print array(#1)......OK
  BTF pretty print array(#2)......OK
  PASS:8 SKIP:0 FAIL:0

Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_btf.c