diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-10 05:43:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-10 05:43:00 -0400 |
commit | bac0c9103b31c3dd83ad9d731dd9834e2ba75e4f (patch) | |
tree | 702dd6a7ce06d224d594c2293af546b11ac9f51b /Makefile | |
parent | 6329d3021bcfa9038621e6e917d98929421d8ec8 (diff) | |
parent | 98a05ed4bd7774f533ab185fe0bf2fdc58292d7c (diff) |
Merge branch 'tracing/ftrace' into auto-ftrace-next
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -528,6 +528,10 @@ KBUILD_CFLAGS += -g | |||
528 | KBUILD_AFLAGS += -gdwarf-2 | 528 | KBUILD_AFLAGS += -gdwarf-2 |
529 | endif | 529 | endif |
530 | 530 | ||
531 | ifdef CONFIG_FTRACE | ||
532 | KBUILD_CFLAGS += -pg | ||
533 | endif | ||
534 | |||
531 | # We trigger additional mismatches with less inlining | 535 | # We trigger additional mismatches with less inlining |
532 | ifdef CONFIG_DEBUG_SECTION_MISMATCH | 536 | ifdef CONFIG_DEBUG_SECTION_MISMATCH |
533 | KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) | 537 | KBUILD_CFLAGS += $(call cc-option, -fno-inline-functions-called-once) |