sample: bpf: syscall_tp_user: Print result of verify_map
authorSong Chen <chensong_2000@189.cn>
Sat, 2 Apr 2022 08:57:08 +0000 (16:57 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 4 Apr 2022 21:43:57 +0000 (14:43 -0700)
commit35f91d1fe106cd474ac0463157d012c675385e18
tree4e5ec527abf33d0c8ff6878224bbcdb1390b4e76
parente93f39998d8f8ed456dfbb4ca68f9a159906cc6f
sample: bpf: syscall_tp_user: Print result of verify_map

At the end of the test, we already print out
    prog <prog number>: map ids <...> <...>
Value is the number read from kernel through bpf map, further print out
    verify map:<map id> val:<...>
will help users to understand the program runs successfully.

Signed-off-by: Song Chen <chensong_2000@189.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1648889828-12417-1-git-send-email-chensong_2000@189.cn
samples/bpf/syscall_tp_user.c