Subject: debugging helper to measure inlining related bloat add -Winline to the Makefile to let gcc generate messages about failed inlinings. This can then be picked up by the debloating script to generate a list of uninlining (and forced-inlining) targets. Signed-off-by: Ingo Molnar ---- Makefile | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux-gcc.q/Makefile =================================================================== --- linux-gcc.q.orig/Makefile +++ linux-gcc.q/Makefile @@ -507,7 +507,7 @@ endif all: vmlinux ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE -CFLAGS += -Os +CFLAGS += -Os -Winline -finline-limit=1 else CFLAGS += -O2 endif