diff options
author | Matt Smith <alastorze@fb.com> | 2021-09-01 12:44:39 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-09-07 17:44:39 -0700 |
commit | 980a1a4c342f353a62d64174d0a6a9466a741273 (patch) | |
tree | 37c3235c409c14ced15e1a5eefc6b63f74783e98 /tools/perf/scripts/python/syscall-counts.py | |
parent | a6cc6b34b93e3660149a7cb947be98a9b239ffce (diff) |
selftests/bpf: Add checks for X__elf_bytes() skeleton helper
This patch adds two checks for the X__elf_bytes BPF skeleton helper
method. The first asserts that the pointer returned from the helper
method is valid, the second asserts that the provided size pointer is
set.
Signed-off-by: Matt Smith <alastorze@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210901194439.3853238-4-alastorze@fb.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions