diff options
| author | Kui-Feng Lee <[email protected]> | 2022-02-17 17:54:27 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-02-22 22:32:44 +0000 |
| commit | b4f72786429cc57383ff41e02407726313ca178d (patch) | |
| tree | cbd94de746d8f2186299f8d2a507bf2940af0979 /tools/bpf/bpftool/prog.c | |
| parent | libbpf: Remove redundant check in btf_fixup_datasec() (diff) | |
| download | kernel-b4f72786429cc57383ff41e02407726313ca178d.tar.gz kernel-b4f72786429cc57383ff41e02407726313ca178d.zip | |
scripts/pahole-flags.sh: Parse DWARF and generate BTF with multithreading.
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.
v3 fixes whitespaces and improves the commit description.
v2 checks the version of pahole to enable multithreading only if possible.
[v2] https://lore.kernel.org/bpf/[email protected]/
[v1] https://lore.kernel.org/bpf/[email protected]/
Signed-off-by: Kui-Feng Lee <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
