diff options
| author | Andrii Nakryiko <[email protected]> | 2023-03-06 17:30:21 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2023-03-06 17:38:08 +0000 |
| commit | 8f4c92f0024ff2a30f002e85f87e531d49dc023c (patch) | |
| tree | eefa1e4ee7a49976b875da1efd3a2fc422366cc1 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c | |
| parent | tools/resolve_btfids: Add /libsubcmd to .gitignore (diff) | |
| parent | selftests/bpf: Add test for legacy/perf kprobe/uprobe attach mode (diff) | |
| download | kernel-8f4c92f0024ff2a30f002e85f87e531d49dc023c.tar.gz kernel-8f4c92f0024ff2a30f002e85f87e531d49dc023c.zip | |
Merge branch 'libbpf: allow users to set kprobe/uprobe attach mode'
Menglong Dong says:
====================
From: Menglong Dong <[email protected]>
By default, libbpf will attach the kprobe/uprobe BPF program in the
latest mode that supported by kernel. In this series, we add the support
to let users manually attach kprobe/uprobe in legacy/perf/link mode in
the 1th patch.
And in the 2th patch, we split the testing 'attach_probe' into multi
subtests, as Andrii suggested.
In the 3th patch, we add the testings for loading kprobe/uprobe in
different mode.
Changes since v3:
- rename eBPF to BPF in the doc
- use OPTS_GET() to get the value of 'force_ioctl_attach'
- error out on attach mode is not supported
- use test_attach_probe_manual__open_and_load() directly
Changes since v2:
- fix the typo in the 2th patch
Changes since v1:
- some small changes in the 1th patch, as Andrii suggested
- split 'attach_probe' into multi subtests
====================
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions
