diff options
author | Alan Maguire <[email protected]> | 2022-07-12 13:31:45 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-07-12 15:27:19 -0700 |
commit | a9d2fae89fa8eb638203d8a4da435c647c12dfa3 (patch) | |
tree | 79fc7639a8674e20b98c011f5205979189544eb3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 647cafa22349026a8435030e9157074ab7fe5710 (diff) |
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 <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions