summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2021-07-15 16:15:26 +0100
committerAndrii Nakryiko <andrii@kernel.org>2021-07-16 13:50:36 -0700
commit70a9241fbce5398965bf05a595ee892845ae31e9 (patch)
treef43063e9281444c97fa38e67379dbfed404ba5d1 /tools/lib/bpf/bpf_helpers.h
parent17283337ff86a1956940bc6bfb3f7dafe82304f3 (diff)
selftests/bpf: Add dump type data tests to btf dump tests
Test various type data dumping operations by comparing expected format with the dumped string; an snprintf-style printf function is used to record the string dumped. Also verify overflow handling where the data passed does not cover the full size of a type, such as would occur if a tracer has a portion of the 8k "struct task_struct". Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/1626362126-27775-4-git-send-email-alan.maguire@oracle.com
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions