diff options
author | Tony Lu <zlu@tilera.com> | 2013-08-09 13:26:09 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-30 10:20:13 -0400 |
commit | a61fd5e3662d576998d72f80376f23b6ef083d6e (patch) | |
tree | 396778bb72c002fb3cca77c9430ec3fb327daa1e /arch/tile/kernel/Makefile | |
parent | 9ae09838470a68edf0245cd60c623df2d5993a8f (diff) |
tile: support ftrace on tilegx
This commit adds support for static ftrace, graph function support,
and dynamic tracer support.
Signed-off-by: Tony Lu <zlu@tilera.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/Makefile')
-rw-r--r-- | arch/tile/kernel/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/tile/kernel/Makefile b/arch/tile/kernel/Makefile index c4a957aad26a..2e6eaa11b60d 100644 --- a/arch/tile/kernel/Makefile +++ b/arch/tile/kernel/Makefile | |||
@@ -9,6 +9,11 @@ obj-y := backtrace.o entry.o hvglue.o irq.o messaging.o \ | |||
9 | sysfs.o time.o traps.o unaligned.o vdso.o \ | 9 | sysfs.o time.o traps.o unaligned.o vdso.o \ |
10 | intvec_$(BITS).o regs_$(BITS).o tile-desc_$(BITS).o | 10 | intvec_$(BITS).o regs_$(BITS).o tile-desc_$(BITS).o |
11 | 11 | ||
12 | ifdef CONFIG_FUNCTION_TRACER | ||
13 | CFLAGS_REMOVE_ftrace.o = -pg | ||
14 | CFLAGS_REMOVE_early_printk.o = -pg | ||
15 | endif | ||
16 | |||
12 | obj-$(CONFIG_HARDWALL) += hardwall.o | 17 | obj-$(CONFIG_HARDWALL) += hardwall.o |
13 | obj-$(CONFIG_COMPAT) += compat.o compat_signal.o | 18 | obj-$(CONFIG_COMPAT) += compat.o compat_signal.o |
14 | obj-$(CONFIG_SMP) += smpboot.o smp.o tlb.o | 19 | obj-$(CONFIG_SMP) += smpboot.o smp.o tlb.o |
@@ -22,5 +27,6 @@ obj-$(CONFIG_PCI) += pci.o | |||
22 | endif | 27 | endif |
23 | obj-$(CONFIG_TILE_USB) += usb.o | 28 | obj-$(CONFIG_TILE_USB) += usb.o |
24 | obj-$(CONFIG_TILE_HVGLUE_TRACE) += hvglue_trace.o | 29 | obj-$(CONFIG_TILE_HVGLUE_TRACE) += hvglue_trace.o |
30 | obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount_64.o | ||
25 | 31 | ||
26 | obj-y += vdso/ | 32 | obj-y += vdso/ |