aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorTyrone Wu <[email protected]>2024-10-11 00:08:03 +0000
committerAndrii Nakryiko <[email protected]>2024-10-10 19:11:28 -0700
commitb836cbdf3b81a4a22b3452186efa2e5105a77e10 (patch)
treee8ab78470cdacf7e5c4607faf6d3bc761413c0ed /tools/testing/selftests/bpf/prog_tests/autoload.c
parentad6b5b6ea9b764018249285a4fe0a2226bef4caa (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/autoload.c')
0 files changed, 0 insertions, 0 deletions