Re: [PATCH bpf-next 1/2] libbpf: support opting out from autoloading BPF programs declaratively

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Mon, 18 Apr 2022 17:24:50 -0700 you wrote:
> Establish SEC("?abc") naming convention (i.e., adding question mark in
> front of otherwise normal section name) that allows to set corresponding
> program's autoload property to false. This is effectively just
> a declarative way to do bpf_program__set_autoload(prog, false).
> 
> Having a way to do this declaratively in BPF code itself is useful and
> convenient for various scenarios. E.g., for testing, when BPF object
> consists of multiple independent BPF programs that each needs to be
> tested separately. Opting out all of them by default and then setting
> autoload to true for just one of them at a time simplifies testing code
> (see next patch for few conversions in BPF selftests taking advantage of
> this new feature).
> 
> [...]

Here is the summary with links:
  - [bpf-next,1/2] libbpf: support opting out from autoloading BPF programs declaratively
    https://git.kernel.org/bpf/bpf-next/c/a3820c481112
  - [bpf-next,2/2] selftests/bpf: use non-autoloaded programs in few tests
    https://git.kernel.org/bpf/bpf-next/c/0d7fefebea55

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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux