Skip to content

Commit

Permalink
scripts/pahole-flags.sh: Enable parallelization of pahole.
Browse files Browse the repository at this point in the history
Pass a -j argument to pahole to parse DWARF and generate BTF with
multithreading.

Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
  • Loading branch information
Kui-Feng Lee authored and Nobody committed Feb 16, 2022
1 parent 772bf42 commit 0d8c62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pahole-flags.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0

extra_paholeopt=
extra_paholeopt=-j

if ! [ -x "$(command -v ${PAHOLE})" ]; then
exit 0
Expand Down

0 comments on commit 0d8c62e

Please sign in to comment.