blob: 7aec123ec1d8b2afbec6767166c1142f79cf3a0f [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 Rostedtbc0c38d2008-05-12 21:20:42 +020022
Arnaldo Carvalho de Melo16444a82008-05-12 21:20:42 +020023libftrace-y := ftrace.o