]> 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)
commit779baec520767397c0bbd8658f96aae2b4e1046f
treeb6dcedcf02cdf24c0bc444adbad42c666e5b906e
parent2fbe97acf84b8128bb86aebb03f68396ebd68124
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