projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: 3.9.0 block layer instrumentation build
[lttng-modules.git]
/
probes
/
Makefile
diff --git
a/probes/Makefile
b/probes/Makefile
index 8e6994a0ffe8a7b5f3bac813a5161e6fd2c30450..6efd6ad1f240d7e2b4ce4a3b5acad22b6c2de128 100644
(file)
--- a/
probes/Makefile
+++ b/
probes/Makefile
@@
-9,21
+9,27
@@
ccflags-y += -I$(PWD)/probes
obj-m += lttng-types.o
obj-m += lttng-probe-lttng.o
obj-m += lttng-types.o
obj-m += lttng-probe-lttng.o
-
obj-m += lttng-probe-sched.o
obj-m += lttng-probe-irq.o
obj-m += lttng-probe-sched.o
obj-m += lttng-probe-irq.o
+obj-m += lttng-probe-timer.o
-ifneq ($(CONFIG_HAVE_SYSCALL_TRACEPOINTS),)
-obj-m += lttng-probe-syscalls.o
-endif
+obj-m += lttng-probe-statedump.o
ifneq ($(CONFIG_KVM),)
obj-m += lttng-probe-kvm.o
endif
ifneq ($(CONFIG_KVM),)
obj-m += lttng-probe-kvm.o
endif
+obj-m += $(shell \
+ if [ $(VERSION) -ge 3 \
+ -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 35 \) ] ; then \
+ echo "lttng-probe-signal.o" ; fi;)
+
ifneq ($(CONFIG_BLOCK),)
ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len
ifneq ($(CONFIG_BLOCK),)
ifneq ($(CONFIG_EVENT_TRACING),) # need blk_cmd_buf_len
-obj-m += lttng-probe-block.o
+obj-m += $(shell \
+ if [ $(VERSION) -ge 3 \
+ -o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 38 \) ] ; then \
+ echo "lttng-probe-block.o" ; fi;)
endif
endif
endif
endif
@@
-31,6
+37,11
@@
ifneq ($(CONFIG_KPROBES),)
obj-m += lttng-kprobes.o
endif
obj-m += lttng-kprobes.o
endif
+
+ifneq ($(CONFIG_KRETPROBES),)
+obj-m += lttng-kretprobes.o
+endif
+
ifneq ($(CONFIG_DYNAMIC_FTRACE),)
obj-m += lttng-ftrace.o
endif
ifneq ($(CONFIG_DYNAMIC_FTRACE),)
obj-m += lttng-ftrace.o
endif
This page took
0.040384 seconds
and
4
git commands to generate.