]> 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)
commit196b42b96b218feb3fb92fbc255b84e55e6a3530
treef8124044849c3341e81ed559ec03e4fa2dbc94e9
parent8ec320218c7b4ac8cb37bd133e7fb1db582fed74
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]