diff options
author | Alan Maguire <alan.maguire@oracle.com> | 2022-07-12 15:31:45 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-07-13 01:27:19 +0300 |
commit | a9d2fae89fa8eb638203d8a4da435c647c12dfa3 (patch) | |
tree | 79fc7639a8674e20b98c011f5205979189544eb3 /tools/testing/selftests/ntb | |
parent | 647cafa22349026a8435030e9157074ab7fe5710 (diff) | |
download | linux-a9d2fae89fa8eb638203d8a4da435c647c12dfa3.tar.xz |
selftests/bpf: add a ksym iter subtest
add subtest verifying BPF ksym iter behaviour. The BPF ksym
iter program shows an example of dumping a format different to
/proc/kallsyms. It adds KIND and MAX_SIZE fields which represent the
kind of symbol (core kernel, module, ftrace, bpf, or kprobe) and
the maximum size the symbol can be. The latter is calculated from
the difference between current symbol value and the next symbol
value.
The key benefit for this iterator will likely be supporting in-kernel
data-gathering rather than dumping symbol details to userspace and
parsing the results.
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/1657629105-7812-3-git-send-email-alan.maguire@oracle.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/ntb')
0 files changed, 0 insertions, 0 deletions