Re: [PATCH] libbpf: replace '.' with '_' in legacy kprobe event name

From: patchwork-bot+netdevbpf
Date: Fri Jan 13 2023 - 17:10:27 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Fri, 13 Jan 2023 17:34:27 +0800 you wrote:
> From: Menglong Dong <imagedong@xxxxxxxxxxx>
>
> '.' is not allowed in the event name of kprobe. Therefore, we will get a
> EINVAL if the kernel function name has a '.' in legacy kprobe attach
> case, such as 'icmp_reply.constprop.0'.
>
> In order to adapt this case, we need to replace the '.' with other char
> in gen_kprobe_legacy_event_name(). And I use '_' for this propose.
>
> [...]

Here is the summary with links:
- libbpf: replace '.' with '_' in legacy kprobe event name
https://git.kernel.org/bpf/bpf-next/c/2fa074536590

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