mbox series

[bpf-next,0/2] libbpf: support modules in set_attach_target() API

Message ID 20201211215825.3646154-1-andrii@kernel.org (mailing list archive)
Headers show
Series libbpf: support modules in set_attach_target() API | expand

Message

Andrii Nakryiko Dec. 11, 2020, 9:58 p.m. UTC
Add support for finding BTF-based kernel attach targets (fentry/fexit
functions, tp_btf tracepoints, etc) with programmatic
bpf_program__set_attach_target() API. It is now as capable as libbpf's
SEC()-based logic.

Andrii Nakryiko (2):
  libbpf: support modules in bpf_program__set_attach_target() API
  selftests/bpf: add set_attach_target() API selftest for module target

 tools/lib/bpf/libbpf.c                        | 64 ++++++++++++-------
 .../selftests/bpf/prog_tests/module_attach.c  | 11 +++-
 .../selftests/bpf/progs/test_module_attach.c  | 11 ++++
 3 files changed, 61 insertions(+), 25 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 14, 2020, 3:50 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (refs/heads/master):

On Fri, 11 Dec 2020 13:58:23 -0800 you wrote:
> Add support for finding BTF-based kernel attach targets (fentry/fexit
> functions, tp_btf tracepoints, etc) with programmatic
> bpf_program__set_attach_target() API. It is now as capable as libbpf's
> SEC()-based logic.
> 
> Andrii Nakryiko (2):
>   libbpf: support modules in bpf_program__set_attach_target() API
>   selftests/bpf: add set_attach_target() API selftest for module target
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/2] libbpf: support modules in bpf_program__set_attach_target() API
    https://git.kernel.org/bpf/bpf-next/c/fe62de310e2b
  - [bpf-next,2/2] selftests/bpf: add set_attach_target() API selftest for module target
    https://git.kernel.org/bpf/bpf-next/c/2e33f831fccd

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html