diff options
author | Jiri Olsa <jolsa@redhat.com> | 2021-07-21 23:58:10 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-07-22 20:09:16 -0700 |
commit | da97553ec6e1ba229f5b90c0e25799ea8afede51 (patch) | |
tree | fe0123476fcaff00e7131891c37c3bc963a3606c /tools/testing/selftests/bpf/prog_tests/pinning.c | |
parent | e3f9bc35ea7e9871667d7f769cf0079211828e89 (diff) | |
download | linux-da97553ec6e1ba229f5b90c0e25799ea8afede51.tar.gz linux-da97553ec6e1ba229f5b90c0e25799ea8afede51.tar.bz2 linux-da97553ec6e1ba229f5b90c0e25799ea8afede51.zip |
libbpf: Export bpf_program__attach_kprobe_opts function
Export bpf_program__attach_kprobe_opts as a public API.
Rename bpf_program_attach_kprobe_opts to bpf_kprobe_opts and turn it into OPTS
struct.
Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Tested-by: Alan Maguire <alan.maguire@oracle.com>
Link: https://lore.kernel.org/bpf/20210721215810.889975-4-jolsa@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/pinning.c')
0 files changed, 0 insertions, 0 deletions