diff options
| author | Jiri Olsa <[email protected]> | 2024-04-30 13:28:27 +0200 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-04-30 09:45:53 -0700 |
| commit | 2ca178f02b2f4e523e970894def16282e4adbc39 (patch) | |
| tree | d4e662ddc8bf58b47007e8da3e2ee2c2853e337a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5c919acef85147886eb2abf86fb147f94680a8b0 (diff) | |
libbpf: Add support for kprobe session attach
Adding support to attach program in kprobe session mode
with bpf_program__attach_kprobe_multi_opts function.
Adding session bool to bpf_kprobe_multi_opts struct that allows
to load and attach the bpf program via kprobe session.
the attachment to create kprobe multi session.
Also adding new program loader section that allows:
SEC("kprobe.session/bpf_fentry_test*")
and loads/attaches kprobe program as kprobe session.
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/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions