diff options
| author | Kenta Tada <Kenta.Tada@sony.com> | 2022-01-24 23:16:20 +0900 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2022-01-24 21:03:57 -0800 |
| commit | 78a2054156dd6265619b230cc5372b74f9ba5233 (patch) | |
| tree | a30f1e9f9c2a434d450a57be8c91b44ee8688b6b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | libbpf: Mark bpf_object__open_xattr() deprecated (diff) | |
| download | linux-78a2054156dd6265619b230cc5372b74f9ba5233.tar.gz linux-78a2054156dd6265619b230cc5372b74f9ba5233.zip | |
selftests/bpf: Extract syscall wrapper
Extract the helper to set up SYS_PREFIX for fentry and kprobe selftests
that use __x86_sys_* attach functions.
Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220124141622.4378-2-Kenta.Tada@sony.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
