Blame view
kernel/trace/Makefile
2.21 KB
b53dde9d3 ftrace: disable -... |
1 2 |
# Do not instrument the tracer itself: |
606576ce8 ftrace: rename FT... |
3 |
ifdef CONFIG_FUNCTION_TRACER |
b53dde9d3 ftrace: disable -... |
4 5 |
ORIG_CFLAGS := $(KBUILD_CFLAGS) KBUILD_CFLAGS = $(subst -pg,,$(ORIG_CFLAGS)) |
d05cdb25d ftrace: fix dynam... |
6 |
|
47239c4d8 ftrace: Only comp... |
7 |
ifdef CONFIG_FTRACE_SELFTEST |
d05cdb25d ftrace: fix dynam... |
8 9 10 |
# selftest needs instrumentation CFLAGS_trace_selftest_dynamic.o = -pg obj-y += trace_selftest_dynamic.o |
b53dde9d3 ftrace: disable -... |
11 |
endif |
47239c4d8 ftrace: Only comp... |
12 |
endif |
b53dde9d3 ftrace: disable -... |
13 |
|
52f232cb7 tracing: likely/u... |
14 |
# If unlikely tracing is enabled, do not trace these files |
2ed84eeb8 trace: rename unl... |
15 16 |
ifdef CONFIG_TRACING_BRANCHES KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING |
52f232cb7 tracing: likely/u... |
17 |
endif |
81dc9f0ef tracing: Add trac... |
18 |
CFLAGS_trace_benchmark.o := -I$(src) |
1d0e78e38 tracing/filter: A... |
19 |
CFLAGS_trace_events_filter.o := -I$(src) |
ea632e9f1 trace: Stop compi... |
20 |
obj-$(CONFIG_TRACE_CLOCK) += trace_clock.o |
56449f437 tracing: make the... |
21 |
|
606576ce8 ftrace: rename FT... |
22 |
obj-$(CONFIG_FUNCTION_TRACER) += libftrace.o |
7a8e76a38 tracing: unified ... |
23 |
obj-$(CONFIG_RING_BUFFER) += ring_buffer.o |
5092dbc96 ring-buffer: add ... |
24 |
obj-$(CONFIG_RING_BUFFER_BENCHMARK) += ring_buffer_benchmark.o |
16444a8a4 ftrace: add basic... |
25 |
|
bc0c38d13 ftrace: latency t... |
26 |
obj-$(CONFIG_TRACING) += trace.o |
f0868d1e2 ftrace: set up tr... |
27 |
obj-$(CONFIG_TRACING) += trace_output.o |
12306276f tracing: Move the... |
28 |
obj-$(CONFIG_TRACING) += trace_seq.o |
dbd0b4b33 tracing/ftrace: p... |
29 |
obj-$(CONFIG_TRACING) += trace_stat.o |
769b0441f tracing/core: dro... |
30 |
obj-$(CONFIG_TRACING) += trace_printk.o |
35e8e302e ftrace: add traci... |
31 |
obj-$(CONFIG_CONTEXT_SWITCH_TRACER) += trace_sched_switch.o |
606576ce8 ftrace: rename FT... |
32 |
obj-$(CONFIG_FUNCTION_TRACER) += trace_functions.o |
81d68a96a ftrace: trace irq... |
33 |
obj-$(CONFIG_IRQSOFF_TRACER) += trace_irqsoff.o |
6cd8a4bb2 ftrace: trace pre... |
34 |
obj-$(CONFIG_PREEMPT_TRACER) += trace_irqsoff.o |
352ad25aa ftrace: tracer fo... |
35 |
obj-$(CONFIG_SCHED_TRACER) += trace_sched_wakeup.o |
fb1b6d8b5 ftrace: add nop t... |
36 |
obj-$(CONFIG_NOP_TRACER) += trace_nop.o |
e5a81b629 ftrace: add stack... |
37 |
obj-$(CONFIG_STACK_TRACER) += trace_stack.o |
f984b51e0 ftrace: add mmiot... |
38 |
obj-$(CONFIG_MMIOTRACE) += trace_mmiotrace.o |
fb52607af tracing/function-... |
39 |
obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += trace_functions_graph.o |
94b80ffd6 ftrace: rename tr... |
40 |
obj-$(CONFIG_TRACE_BRANCH_PROFILING) += trace_branch.o |
55782138e tracing/events: c... |
41 42 43 44 |
obj-$(CONFIG_BLK_DEV_IO_TRACE) += blktrace.o ifeq ($(CONFIG_BLOCK),y) obj-$(CONFIG_EVENT_TRACING) += blktrace.o endif |
5f77a88b3 tracing/infrastru... |
45 |
obj-$(CONFIG_EVENT_TRACING) += trace_events.o |
5f77a88b3 tracing/infrastru... |
46 |
obj-$(CONFIG_EVENT_TRACING) += trace_export.o |
ee08c6ecc tracing/ftrace: s... |
47 |
obj-$(CONFIG_FTRACE_SYSCALLS) += trace_syscalls.o |
07b139c8c perf events: Remo... |
48 |
ifeq ($(CONFIG_PERF_EVENTS),y) |
97d5a2200 perf: Drop the ob... |
49 |
obj-$(CONFIG_EVENT_TRACING) += trace_event_perf.o |
07b139c8c perf events: Remo... |
50 |
endif |
5f77a88b3 tracing/infrastru... |
51 |
obj-$(CONFIG_EVENT_TRACING) += trace_events_filter.o |
85f2b0826 tracing: Add basi... |
52 |
obj-$(CONFIG_EVENT_TRACING) += trace_events_trigger.o |
77b44d1b7 tracing/kprobes: ... |
53 |
obj-$(CONFIG_KPROBE_EVENT) += trace_kprobe.o |
870915e04 tracing: Fix TRAC... |
54 |
obj-$(CONFIG_TRACEPOINTS) += power-traces.o |
2a5306cc5 PM / Tracing: bui... |
55 |
ifeq ($(CONFIG_PM_RUNTIME),y) |
53b615ccc PM / Runtime: Int... |
56 |
obj-$(CONFIG_TRACEPOINTS) += rpm-traces.o |
2a5306cc5 PM / Tracing: bui... |
57 |
endif |
955b61e59 ftrace,kdb: Exten... |
58 59 60 |
ifeq ($(CONFIG_TRACING),y) obj-$(CONFIG_KGDB_KDB) += trace_kdb.o endif |
8ab83f564 tracing: Extract ... |
61 |
obj-$(CONFIG_PROBE_EVENTS) += trace_probe.o |
f3f096cfe tracing: Provide ... |
62 |
obj-$(CONFIG_UPROBE_EVENT) += trace_uprobe.o |
bc0c38d13 ftrace: latency t... |
63 |
|
81dc9f0ef tracing: Add trac... |
64 |
obj-$(CONFIG_TRACEPOINT_BENCHMARK) += trace_benchmark.o |
16444a8a4 ftrace: add basic... |
65 |
libftrace-y := ftrace.o |