diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2021-07-15 16:15:26 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-07-16 13:50:36 -0700 |
commit | 70a9241fbce5398965bf05a595ee892845ae31e9 (patch) | |
tree | f43063e9281444c97fa38e67379dbfed404ba5d1 /tools/lib/bpf/bpf_prog_linfo.c | |
parent | 17283337ff86a1956940bc6bfb3f7dafe82304f3 (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_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions