Re: [PATCH bpf-next] scripts/pahole-flags.sh: Enable parallelization of pahole.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2/15/22 4:46 PM, Kui-Feng Lee wrote:
Pass a -j argument to pahole to parse DWARF and generate BTF with
multithreading.

Signed-off-by: Kui-Feng Lee <kuifeng@xxxxxx>
---
  scripts/pahole-flags.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/pahole-flags.sh b/scripts/pahole-flags.sh
index c293941612e7..73f237ce44e8 100755
--- a/scripts/pahole-flags.sh
+++ b/scripts/pahole-flags.sh
@@ -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.

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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux