diff options
| author | Jiri Olsa <[email protected]> | 2024-11-08 13:45:36 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-11-11 16:18:06 +0000 |
| commit | 022367ec92794a00ad2eb1348c019709faf5c476 (patch) | |
| tree | 98ae07b430de8c553d5bd78243a0c49d01c4c75e /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | bpf: Add support for uprobe multi session context (diff) | |
| download | kernel-022367ec92794a00ad2eb1348c019709faf5c476.tar.gz kernel-022367ec92794a00ad2eb1348c019709faf5c476.zip | |
libbpf: Add support for uprobe multi session attach
Adding support to attach program in uprobe session mode
with bpf_program__attach_uprobe_multi function.
Adding session bool to bpf_uprobe_multi_opts struct that allows
to load and attach the bpf program via uprobe session.
the attachment to create uprobe multi session.
Also adding new program loader section that allows:
SEC("uprobe.session/bpf_fentry_test*")
and loads/attaches uprobe program as uprobe session.
Adding sleepable hook (uprobe.session.s) as well.
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-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
