Re: [PATCHv5 bpf-next 0/5] libbpf: Make optimized uprobes backward compatible

From: patchwork-bot+netdevbpf

Date: Tue Mar 03 2026 - 11:46:09 EST


Hello:

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

On Tue, 24 Feb 2026 11:39:10 +0100 you wrote:
> hi,
> we can currently optimize uprobes on top of nop5 instructions,
> so application can define USDT_NOP to nop5 and use USDT macro
> to define optimized usdt probes.
>
> This works fine on new kernels, but could have performance penalty
> on older kernels, that do not have the support to optimize and to
> emulate nop5 instruction.
>
> [...]

Here is the summary with links:
- [PATCHv5,bpf-next,1/5] libbpf: Add uprobe syscall feature detection
https://git.kernel.org/bpf/bpf-next/c/05738da0efa1
- [PATCHv5,bpf-next,2/5] libbpf: Add support to detect nop,nop5 instructions combo for usdt probe
https://git.kernel.org/bpf/bpf-next/c/41a5c7df4466
- [PATCHv5,bpf-next,3/5] selftests/bpf: Emit nop,nop5 instructions combo for x86_64 arch
https://git.kernel.org/bpf/bpf-next/c/0c178e9debc8
- [PATCHv5,bpf-next,4/5] selftests/bpf: Add test for checking correct nop of optimized usdt
https://git.kernel.org/bpf/bpf-next/c/304841967c55
- [PATCHv5,bpf-next,5/5] selftests/bpf: Add usdt trigger bench
https://git.kernel.org/bpf/bpf-next/c/0c4fc6bd6105

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