]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Unify options for BTF generation for vmlinux and modules
authorJiri Olsa <jolsa@redhat.com>
Fri, 29 Oct 2021 12:57:29 +0000 (14:57 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 2 Nov 2021 01:09:58 +0000 (18:09 -0700)
commit545fe19eb0599c6acd40a6e3ef81975f077a4f5a
treef8124044849c3341e81ed559ec03e4fa2dbc94e9
parent8d9dc5b609487e43537c3c078b81097a62308880
kbuild: Unify options for BTF generation for vmlinux and modules

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
Makefile
scripts/Makefile.modfinal
scripts/link-vmlinux.sh
scripts/pahole-flags.sh [new file with mode: 0755]