blob: 3e1f361bbc179d3c619267977057ba98ef708b79 [file] [log] [blame]
Ingo Molnarb53dde92008-05-12 21:20:51 +02001
2# Do not instrument the tracer itself:
3
Steven Rostedt606576c2008-10-06 19:06:12 -04004ifdef CONFIG_FUNCTION_TRACER
Ingo Molnarb53dde92008-05-12 21:20:51 +02005ORIG_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
Steven Rostedt606576c2008-10-06 19:06:12 -040013obj-$(CONFIG_FUNCTION_TRACER) += 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 Rostedt606576c2008-10-06 19:06:12 -040019obj-$(CONFIG_FUNCTION_TRACER) += 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
Frederic Weisbecker15e6cb32008-11-11 07:14:25 +010027obj-$(CONFIG_FUNCTION_RET_TRACER) += trace_functions_return.o
Steven Rostedtbc0c38d2008-05-12 21:20:42 +020028
Arnaldo Carvalho de Melo16444a82008-05-12 21:20:42 +020029libftrace-y := ftrace.o