diff options
author | Yonghong Song <[email protected]> | 2018-08-09 08:55:21 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-08-10 20:54:07 +0200 |
commit | af2a81dab44758de0b94679615ea75e8ee30aace (patch) | |
tree | 007389b3325d0ab9c5ce2a15f8b2116e1fbf34c8 /tools/perf/util/trace-event-scripting.c | |
parent | 699c86d6ec21d0f885d12800249d138659de8489 (diff) |
tools/bpf: add bpffs pretty print btf test for hash/lru_hash maps
Pretty print tests for hash/lru_hash maps are added in test_btf.c.
The btf type blob is the same as pretty print array map test.
The test result:
$ mount -t bpf bpf /sys/fs/bpf
$ ./test_btf -p
BTF pretty print array......OK
BTF pretty print hash......OK
BTF pretty print lru hash......OK
PASS:3 SKIP:0 FAIL:0
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions