scripts/pahole-flags.sh: Enable parallelization of pahole.
PATCH 1/1 scripts/pahole-flags.sh: Enable parallelization of pahole.
Pass a -j argument to pahole to parse DWARF and generate BTF with multithreading.
--- scripts/pahole-flags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/pahole-flags.sh +1 -1
@@ -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
Signature · 1 line
2.30.2
Quoted 13 lines · Kui-Feng Lee
Pass a -j argument to pahole to parse DWARF and generate BTF with multithreading.
Signed-off-by Kui-Feng Lee <[email protected]>--- scripts/pahole-flags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/pahole-flags.sh +0
-0
scripts/pahole-flags.sh line 4
Quoted 5 lines
scripts/pahole-flags.sh +1
-1@@ -1,7 +1,7 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0 -extra_paholeopt= +extra_paholeopt=-j
-j option seems only available for version >= 1.22 (please double check).
The script scripts/pahole-version.sh can be used to determine the pahole version.
Quoted 3 lines
scripts/pahole-flags.sh +0
-0if ! [ -x "$(command -v ${PAHOLE})" ]; then exit 0
Quoted 11 lines · Yonghong Song
Quoted 8 lines · Kui-Feng Lee
Pass a -j argument to pahole to parse DWARF and generate BTF with multithreading.
Signed-off-by Kui-Feng Lee <[email protected]>---
scripts/pahole-flags.sh| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
scripts/pahole-flags.sh line 4
Quoted 10 lines
scripts/pahole-flags.sh +0
-0@@ -1,7 +1,7 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0scripts/pahole-flags.sh +1
-1-extra_paholeopt= +extra_paholeopt=-j-j option seems only available for version >= 1.22 (please double check).
The scriptscripts/pahole-version.shcan be used to determine the pahole version.
You are right. Thank you for the feedback.