]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: add bpffs percpu map pretty print tests in test_btf
authorYonghong Song <yhs@fb.com>
Wed, 29 Aug 2018 21:43:14 +0000 (14:43 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 30 Aug 2018 12:03:53 +0000 (14:03 +0200)
commit885dd44aa3deb319eee0f02261db82a12943f55d
treeb6dcedcf02cdf24c0bc444adbad42c666e5b906e
parentac0adc82b639bf19f685819db76cc954ab708cbd
tools/bpf: add bpffs percpu map pretty print tests in test_btf

The bpf selftest test_btf is extended to test bpffs
percpu map pretty print for percpu array, percpu hash and
percpu lru hash.

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