[PATCH bpf-next v10 0/3] bpf, x86: allow function arguments up to 12 for TRACING

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Thu Jul 13 16:10:22 PDT 2023


Hello:

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

On Thu, 13 Jul 2023 12:07:35 +0800 you wrote:
> From: Menglong Dong <imagedong at tencent.com>
> 
> For now, the BPF program of type BPF_PROG_TYPE_TRACING can only be used
> on the kernel functions whose arguments count less than or equal to 6, if
> not considering '> 8 bytes' struct argument. This is not friendly at all,
> as too many functions have arguments count more than 6. According to the
> current kernel version, below is a statistics of the function arguments
> count:
> 
> [...]

Here is the summary with links:
  - [bpf-next,v10,1/3] bpf, x86: save/restore regs with BPF_DW size
    https://git.kernel.org/bpf/bpf-next/c/02a6dfa8ff43
  - [bpf-next,v10,2/3] bpf, x86: allow function arguments up to 12 for TRACING
    https://git.kernel.org/bpf/bpf-next/c/473e3150e30a
  - [bpf-next,v10,3/3] selftests/bpf: add testcase for TRACING with 6+ arguments
    https://git.kernel.org/bpf/bpf-next/c/5e9cf77d81f9

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





More information about the linux-arm-kernel mailing list