Commit 9e98ace
scripts/pahole-flags.sh: Enable parallelization of pahole.
Pass a -j argument to pahole to parse DWARF and generate BTF with
multithreading (-j without arguments means one thread per CPU).
This also requires to check the version of pahole to then apply -j
only if >= v1.22.
Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220216193431.2691015-1-kuifeng@fb.com1 parent 1b8c924 commit 9e98ace
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
0 commit comments