Re: [PATCH] kbuild: dummy-tools, support MPROFILE_KERNEL checks for ppc

2021-03-09 Thread Masahiro Yamada
On Mon, Mar 8, 2021 at 3:28 PM Jiri Slaby wrote: > > ppc64le checks for -mprofile-kernel to define MPROFILE_KERNEL Kconfig. > Kconfig calls arch/powerpc/tools/gcc-check-mprofile-kernel.sh for that > purpose. This script performs two checks: > 1) build with -mprofile-kernel should contain "_mcount"

[PATCH] kbuild: dummy-tools, support MPROFILE_KERNEL checks for ppc

2021-03-07 Thread Jiri Slaby
ppc64le checks for -mprofile-kernel to define MPROFILE_KERNEL Kconfig. Kconfig calls arch/powerpc/tools/gcc-check-mprofile-kernel.sh for that purpose. This script performs two checks: 1) build with -mprofile-kernel should contain "_mcount" 2) build with -mprofile-kernel with a function marked as "n