Messages in this thread | | | Subject | Re: [PATCH] libbpf: Avoid allocating reg_name with sscanf in parse_usdt_arg() | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 21 Oct 2022 21:30:32 +0000 |
| |
Hello:
This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <andrii@kernel.org>:
On Tue, 18 Oct 2022 10:55:38 -0400 you wrote: > From: Xu Kuohai <xukuohai@huawei.com> > > 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
| |