* [PATCH bpf-next] scripts/pahole-flags.sh: Enable parallelization of pahole.
@ 2022-02-16 0:46 Kui-Feng Lee
2022-02-16 4:32 ` Yonghong Song
0 siblings, 1 reply; 3+ messages in thread
From: Kui-Feng Lee @ 2022-02-16 0:46 UTC (permalink / raw)
To: bpf, ast, daniel, andrii; +Cc: kernel-team, Kui-Feng Lee
Pass a -j argument to pahole to parse DWARF and generate BTF with
multithreading.
Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
---
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
if ! [ -x "$(command -v ${PAHOLE})" ]; then
exit 0
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH bpf-next] scripts/pahole-flags.sh: Enable parallelization of pahole.
2022-02-16 0:46 [PATCH bpf-next] scripts/pahole-flags.sh: Enable parallelization of pahole Kui-Feng Lee
@ 2022-02-16 4:32 ` Yonghong Song
2022-02-16 18:12 ` Kui-Feng Lee
0 siblings, 1 reply; 3+ messages in thread
From: Yonghong Song @ 2022-02-16 4:32 UTC (permalink / raw)
To: Kui-Feng Lee, bpf, ast, daniel, andrii; +Cc: kernel-team
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@fb.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH bpf-next] scripts/pahole-flags.sh: Enable parallelization of pahole.
2022-02-16 4:32 ` Yonghong Song
@ 2022-02-16 18:12 ` Kui-Feng Lee
0 siblings, 0 replies; 3+ messages in thread
From: Kui-Feng Lee @ 2022-02-16 18:12 UTC (permalink / raw)
To: daniel, Yonghong Song, ast, andrii, bpf; +Cc: Kernel Team
On Tue, 2022-02-15 at 20:32 -0800, Yonghong Song wrote:
>
>
> 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@fb.com>
> > ---
> > 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.
>
You are right. Thank you for the feedback.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-16 18:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-16 0:46 [PATCH bpf-next] scripts/pahole-flags.sh: Enable parallelization of pahole Kui-Feng Lee
2022-02-16 4:32 ` Yonghong Song
2022-02-16 18:12 ` Kui-Feng Lee
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.