Re: [PATCH 5.15 101/107] kbuild: Unify options for BTF generation for vmlinux and modules

Florian Fainelli
2022-09-06T18:45:09Z

On 9/6/2022 6:31 AM, Greg Kroah-Hartman wrote:
> From: Jiri Olsa <jolsa@redhat.com>
>
> commit e27f05147bff21408c1b8410ad8e90cd286e7952 upstream.
>
> Using new PAHOLE_FLAGS variable to pass extra arguments to
> pahole for both vmlinux and modules BTF data generation.
>
> Adding new scripts/pahole-flags.sh script that detect and
> prints pahole options.
>
> [ fixed issues found by kernel test robot ]
>
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
> Acked-by: Andrii Nakryiko <andrii@kernel.org>
> Link: https://lore.kernel.org/bpf/20211029125729.70002-1-jolsa@kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> ---
> Makefile | 3 +++
> scripts/Makefile.modfinal | 2 +-
> scripts/link-vmlinux.sh | 11 +----------
> scripts/pahole-flags.sh | 20 ++++++++++++++++++++
> 4 files changed, 25 insertions(+), 11 deletions(-)
> create mode 100755 scripts/pahole-flags.sh

My linux-stable-rc/linux-5.15.y checkout shows that
scripts/pahole-flags.sh does not have an executable permission and
commit 128e3cc0beffc92154d9af6bd8c107f46e830000 ("kbuild: Unify options
for BTF generation for vmlinux and modules") does have:

diff --git a/scripts/pahole-flags.sh b/scripts/pahole-flags.sh
new file mode 100644
index 000000000000..e6093adf4c06

whereas your email does have the proper 100755 permission set on the
file, any idea what happened here?
--
Florian