blob: 35a07f7cfa865ab9dfe7853ad6603f824e850651 [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
14
Steven Rostedtbc0c38d2008-05-12 21:20:42 +020015obj-$(CONFIG_TRACING) += trace.o
Steven Rostedt35e8e302008-05-12 21:20:42 +020016obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o
Ingo Molnarf06c3812008-05-12 21:20:47 +020017obj-$(CONFIG_SYSPROF_TRACER) += trace_sysprof.o
Steven Rostedt1b29b012008-05-12 21:20:42 +020018obj-$(CONFIG_FTRACE) += trace_functions.o
Steven Rostedt81d68a92008-05-12 21:20:42 +020019obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o
Steven Rostedt6cd8a4b2008-05-12 21:20:42 +020020obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o
Steven Rostedt352ad252008-05-12 21:20:42 +020021obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
Steven Noonanfb1b6d82008-09-19 03:06:43 -070022obj-$(CONFIG_NOP_TRACER) += trace_nop.o
Steven Rostedte5a81b62008-08-27 23:31:01 -040023obj-$(CONFIG_STACK_TRACER) += trace_stack.o
Pekka Paalanenf984b512008-05-12 21:20:57 +020024obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o
Frédéric Weisbecker1f5c2ab2008-09-23 11:36:20 +010025obj-$(CONFIG_BOOT_TRACER) += trace_boot.o
Steven Rostedtbc0c38d2008-05-12 21:20:42 +020026
Arnaldo Carvalho de Melo16444a82008-05-12 21:20:42 +020027libftrace-y := ftrace.o