aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2023-11-25 20:31:27 +0100
committerAndrii Nakryiko <[email protected]>2023-11-28 21:50:09 -0800
commite56fdbfb06e26a7066b070967badef4148528df2 (patch)
treebeb6f242eaecc16d3f1db0732fdaae0618df552e /tools/testing/selftests/bpf/progs/test_autoload.c
parent4930b7f53a298533bc31d7540b6ea8b79a000331 (diff)
bpf: Add link_info support for uprobe multi link
Adding support to get uprobe_link details through bpf_link_info interface. Adding new struct uprobe_multi to struct bpf_link_info to carry the uprobe_multi link details. The uprobe_multi.count is passed from user space to denote size of array fields (offsets/ref_ctr_offsets/cookies). The actual array size is stored back to uprobe_multi.count (allowing user to find out the actual array size) and array fields are populated up to the user passed size. All the non-array fields (path/count/flags/pid) are always set. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions