Message ID | 20220217175427.649713-1-kuifeng@fb.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b4f72786429cc57383ff41e02407726313ca178d |
Delegated to: | BPF |
Headers | show |
Series | [v3,bpf-next] scripts/pahole-flags.sh: Parse DWARF and generate BTF with multithreading. | expand |
Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <andrii@kernel.org>: On Thu, 17 Feb 2022 09:54:27 -0800 you wrote: > Pass a "-j" argument to pahole if possible to reduce the time of > generating BTF info. > > Since v1.22, pahole can parse DWARF and generate BTF with > multithreading to speed up the conversion. It will reduce the overall > build time of the kernel for seconds. > > [...] Here is the summary with links: - [v3,bpf-next] scripts/pahole-flags.sh: Parse DWARF and generate BTF with multithreading. https://git.kernel.org/bpf/bpf-next/c/b4f72786429c You are awesome, thank you!
diff --git a/scripts/pahole-flags.sh b/scripts/pahole-flags.sh index c293941612e7..0d99ef17e4a5 100755 --- a/scripts/pahole-flags.sh +++ b/scripts/pahole-flags.sh @@ -16,5 +16,8 @@ fi if [ "${pahole_ver}" -ge "121" ]; then extra_paholeopt="${extra_paholeopt} --btf_gen_floats" fi +if [ "${pahole_ver}" -ge "122" ]; then + extra_paholeopt="${extra_paholeopt} -j" +fi echo ${extra_paholeopt}