Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <andrii@xxxxxxxxxx>: On Wed, 19 Jan 2022 10:02:14 -0800 you wrote: > Add a hashmap to map the string offsets from a source btf to the > string offsets from a target btf to reduce overheads. > > btf__add_btf() calls btf__add_str() to add strings from a source to a > target btf. It causes many string comparisons, and it is a major > hotspot when adding a big btf. btf__add_str() uses strcmp() to check > if a hash entry is the right one. The extra hashmap here compares > offsets of strings, that are much cheaper. It remembers the results > of btf__add_str() for later uses to reduce the cost. > > [...] Here is the summary with links: - [v4,bpf-next] libbpf: Improve btf__add_btf() with an additional hashmap for strings. https://git.kernel.org/bpf/bpf-next/c/d81283d27266 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html