diff options
author | Tyrone Wu <[email protected]> | 2024-10-11 00:08:03 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-10-10 19:11:28 -0700 |
commit | b836cbdf3b81a4a22b3452186efa2e5105a77e10 (patch) | |
tree | e8ab78470cdacf7e5c4607faf6d3bc761413c0ed /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | ad6b5b6ea9b764018249285a4fe0a2226bef4caa (diff) |
selftests/bpf: Assert link info uprobe_multi count & path_size if unset
Add assertions in `bpf_link_info.uprobe_multi` test to verify that
`count` and `path_size` fields are correctly populated when the fields
are unset.
This tests a previous bug where the `path_size` field was not populated
when `path` and `path_size` were unset.
Signed-off-by: Tyrone Wu <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions