Re: [PATCH bpf-next] libbpf: fix internal USDT address translation logic for shared libraries

patchwork-bot+netdevbpf
2022-06-16T23:30:19Z

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Wed, 15 Jun 2022 22:55:43 -0700 you wrote:
> Perform the same virtual address to file offset translation that libbpf
> is doing for executable ELF binaries also for shared libraries.
> Currently libbpf is making a simplifying and sometimes wrong assumption
> that for shared libraries relative virtual addresses inside ELF are
> always equal to file offsets.
>
> Unfortunately, this is not always the case with LLVM's lld linker, which
> now by default generates quite more complicated ELF segments layout.
> E.g., for liburandom_read.so from selftests/bpf, here's an excerpt from
> readelf output listing ELF segments (a.k.a. program headers):
>
> [...]

Here is the summary with links:
- [bpf-next] libbpf: fix internal USDT address translation logic for shared libraries
https://git.kernel.org/bpf/bpf-next/c/3e6fe5ce4d48

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.