OSDN Git Service

tools/bpf: add bpffs pretty print test for int128
authorYonghong Song <yhs@fb.com>
Wed, 16 Jan 2019 01:07:50 +0000 (17:07 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 16 Jan 2019 21:53:44 +0000 (22:53 +0100)
commit4df3a1d0a5bffd77a9c7b00ac687f4493e57a3ce
treec5750ca816daa2c765370af5917153e9029868cf
parentce6ec47a10199d5504dc40a4f0069ef1c4878a4a
tools/bpf: add bpffs pretty print test for int128

The bpffs pretty print test is extended to cover int128 types.
Tested on an x64 machine.
  $ test_btf -p
  ......
  BTF pretty print array(#3)......OK
  PASS:9 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