blob: a85dfba88ba0402d5614d015c5faed60fe4abc55 [file] [log] [blame]
Ingo Molnarb53dde92008-05-12 21:20:51 +02001
2# Do not instrument the tracer itself:
3
4ifdef CONFIG_FTRACE
5ORIG_CFLAGS := $(KBUILD_CFLAGS)
6KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
Steven Rostedtd05cdb22008-05-12 21:20:54 +02007
8# selftest needs instrumentation
9CFLAGS_trace_selftest_dynamic.o = -pg
10obj-y += trace_selftest_dynamic.o
Ingo Molnarb53dde92008-05-12 21:20:51 +020011endif
12
Arnaldo Carvalho de Melo16444a82008-05-12 21:20:42 +020013obj-$(CONFIG_FTRACE) += libftrace.o
Steven Rostedt7a8e76a2008-09-29 23:02:38 -040014obj-$(CONFIG_RING_BUFFER) += ring_buffer.o
Arnaldo Carvalho de Melo16444a82008-05-12 21:20:42 +020015
Steven Rostedtbc0c38d2008-05-12 21:20:42 +020016obj-$(CONFIG_TRACING) += trace.o
Steven Rostedt35e8e302008-05-12 21:20:42 +020017obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o
Ingo Molnarf06c3812008-05-12 21:20:47 +020018obj-$(CONFIG_SYSPROF_TRACER) += trace_sysprof.o
Steven Rostedt1b29b012008-05-12 21:20:42 +020019obj-$(CONFIG_FTRACE) += trace_functions.o
Steven Rostedt81d68a92008-05-12 21:20:42 +020020obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o
Steven Rostedt6cd8a4b2008-05-12 21:20:42 +020021obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o
Steven Rostedt352ad252008-05-12 21:20:42 +020022obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
Steven Noonanfb1b6d82008-09-19 03:06:43 -070023obj-$(CONFIG_NOP_TRACER) += trace_nop.o
Steven Rostedte5a81b62008-08-27 23:31:01 -040024obj-$(CONFIG_STACK_TRACER) += trace_stack.o
Pekka Paalanenf984b512008-05-12 21:20:57 +020025obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o
Frédéric Weisbecker1f5c2ab2008-09-23 11:36:20 +010026obj-$(CONFIG_BOOT_TRACER) += trace_boot.o
Steven Rostedtbc0c38d2008-05-12 21:20:42 +020027
Arnaldo Carvalho de Melo16444a82008-05-12 21:20:42 +020028libftrace-y := ftrace.o