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)
commit6493ebf7242d9b9a2c50db91b9baeb0543990736
treeb6dcedcf02cdf24c0bc444adbad42c666e5b906e
parentc7b27c37af3da5a63f32b0bc99569e3069e4d9c1
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