ftrace: fix depends
[linux-2.6-block.git] / kernel / trace / Makefile
CommitLineData
b53dde9d
IM
1
2# Do not instrument the tracer itself:
3
4ifdef CONFIG_FTRACE
5ORIG_CFLAGS := $(KBUILD_CFLAGS)
6KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
d05cdb25
SR
7
8# selftest needs instrumentation
9CFLAGS_trace_selftest_dynamic.o = -pg
10obj-y += trace_selftest_dynamic.o
b53dde9d
IM
11endif
12
16444a8a 13obj-$(CONFIG_FTRACE) += libftrace.o
7a8e76a3 14obj-$(CONFIG_RING_BUFFER) += ring_buffer.o
16444a8a 15
bc0c38d1 16obj-$(CONFIG_TRACING) += trace.o
35e8e302 17obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o
f06c3810 18obj-$(CONFIG_SYSPROF_TRACER) += trace_sysprof.o
1b29b018 19obj-$(CONFIG_FTRACE) += trace_functions.o
81d68a96 20obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o
6cd8a4bb 21obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o
352ad25a 22obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
fb1b6d8b 23obj-$(CONFIG_NOP_TRACER) += trace_nop.o
e5a81b62 24obj-$(CONFIG_STACK_TRACER) += trace_stack.o
f984b51e 25obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o
1f5c2abb 26obj-$(CONFIG_BOOT_TRACER) += trace_boot.o
bc0c38d1 27
16444a8a 28libftrace-y := ftrace.o