diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -529,6 +529,10 @@ KBUILD_CFLAGS += -g | |||
529 | KBUILD_AFLAGS += -gdwarf-2 | 529 | KBUILD_AFLAGS += -gdwarf-2 |
530 | endif | 530 | endif |
531 | 531 | ||
532 | ifdef CONFIG_FTRACE | ||
533 | KBUILD_CFLAGS += -pg | ||
534 | endif | ||
535 | |||
532 | # We trigger additional mismatches with less inlining | 536 | # We trigger additional mismatches with less inlining |
533 | ifdef CONFIG_DEBUG_SECTION_MISMATCH | 537 | ifdef CONFIG_DEBUG_SECTION_MISMATCH |
534 | KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) | 538 | KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) |