summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/get_func_ip_test.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2021-07-14 11:43:58 +0200
committerAlexei Starovoitov <ast@kernel.org>2021-07-15 17:59:14 -0700
commitac0ed488297a9850b0c285646b7854228368ba6b (patch)
treeac35f3599ec960ed2eac7a2f2790071da19266b5 /tools/testing/selftests/bpf/progs/get_func_ip_test.c
parent5d8b583d04aedb3bd5f6d227a334c210c7d735f9 (diff)
libbpf: Add bpf_program__attach_kprobe_opts function
Adding bpf_program__attach_kprobe_opts that does the same as bpf_program__attach_kprobe, but takes opts argument. Currently opts struct holds just retprobe bool, but we will add new field in following patch. The function is not exported, so there's no need to add size to the struct bpf_program_attach_kprobe_opts for now. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20210714094400.396467-7-jolsa@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/progs/get_func_ip_test.c')
0 files changed, 0 insertions, 0 deletions