aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 534c09c255de..0dd3a8d93132 100644
--- a/Makefile
+++ b/Makefile
@@ -568,6 +568,12 @@ endif
568 568
569ifdef CONFIG_FUNCTION_TRACER 569ifdef CONFIG_FUNCTION_TRACER
570KBUILD_CFLAGS += -pg 570KBUILD_CFLAGS += -pg
571ifdef CONFIG_DYNAMIC_FTRACE
572 ifdef CONFIG_HAVE_C_MCOUNT_RECORD
573 BUILD_C_RECORDMCOUNT := y
574 export BUILD_C_RECORDMCOUNT
575 endif
576endif
571endif 577endif
572 578
573# We trigger additional mismatches with less inlining 579# We trigger additional mismatches with less inlining