Makefile (6cd8a4bb2f97527a9ceb30bc77ea4e959c6a95e3) Makefile (b53dde9d34f2df396540988ebc65c33400f57b04)
1
2# Do not instrument the tracer itself:
3
4ifdef CONFIG_FTRACE
5ORIG_CFLAGS := $(KBUILD_CFLAGS)
6KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS))
7endif
8
1obj-$(CONFIG_FTRACE) += libftrace.o
2
3obj-$(CONFIG_TRACING) += trace.o
4obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o
5obj-$(CONFIG_FTRACE) += trace_functions.o
6obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o
7obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o
8obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
9
10libftrace-y := ftrace.o
9obj-$(CONFIG_FTRACE) += libftrace.o
10
11obj-$(CONFIG_TRACING) += trace.o
12obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o
13obj-$(CONFIG_FTRACE) += trace_functions.o
14obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o
15obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o
16obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o
17
18libftrace-y := ftrace.o