Hello:
This patch was applied to bpf/bpf-next.git (refs/heads/master):
On Wed, 27 Jan 2021 18:46:15 +0100 you wrote:
!perfmon_capable() is checked before the last switch(func_id) in
bpf_base_func_proto. Thus, the cases BPF_FUNC_trace_printk and
BPF_FUNC_snprintf_btf can be moved to that last switch(func_id) to omit
the inline !perfmon_capable() checks.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[...]
Here is the summary with links:
- [bpf-next] bpf: simplify cases in bpf_base_func_proto
https://git.kernel.org/bpf/bpf-next/c/61ca36c8c4eb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html