Re: [PATCH] libbpf: Avoid allocating reg_name with sscanf in parse_usdt_arg()

From: patchwork-bot+netdevbpf
Date: Fri Oct 21 2022 - 17:30:43 EST


Hello:

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

On Tue, 18 Oct 2022 10:55:38 -0400 you wrote:
> From: Xu Kuohai <xukuohai@xxxxxxxxxx>
>
> The reg_name in parse_usdt_arg() is used to hold register name, which
> is short enough to be held in a 16-byte array, so we could define
> reg_name as char reg_name[16] to avoid dynamically allocating reg_name
> with sscanf.
>
> [...]

Here is the summary with links:
- libbpf: Avoid allocating reg_name with sscanf in parse_usdt_arg()
https://git.kernel.org/bpf/bpf-next/c/d9740535b857

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