diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-03-08 07:28:20 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-03-11 14:40:50 +0900 |
commit | 2eab791f940b98d0bdd4d1e8c4857f3dec3c7d04 (patch) | |
tree | fc8a1434ecbf04430320d3f904ff4cab25985a28 /scripts/atomic | |
parent | ce6ed1c4c9876c2880f52f18c41ef2a30d070bc5 (diff) |
kbuild: dummy-tools: support MPROFILE_KERNEL checks for ppc
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 "notrace"
should not produce "_mcount"
So support this in dummy-tools' gcc, so that we have MPROFILE_KERNEL
always true.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/atomic')
0 files changed, 0 insertions, 0 deletions