endif
obj-m += $(shell \
- if [ \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 6 \) \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 6 \) \
-o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -eq 5 -a $(SUBLEVEL) -ge 2 \) \
-o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -eq 4 -a $(SUBLEVEL) -ge 9 \) \
-o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -eq 0 -a $(SUBLEVEL) -ge 41 \) ] ; then \
echo "lttng-probe-random.o" ; fi;)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 2 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 2 \) ] ; then \
echo "lttng-probe-rcu.o" ; fi;)
ifneq ($(CONFIG_REGMAP),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 2 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 2 \) ] ; then \
echo "lttng-probe-regmap.o" ; fi;)
endif
ifneq ($(CONFIG_PM_RUNTIME),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 2 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 2 \) ] ; then \
echo "lttng-probe-rpm.o" ; fi;)
endif
ifneq ($(CONFIG_SUNRPC),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 4 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 4 \) ] ; then \
echo "lttng-probe-sunrpc.o" ; fi;)
endif
ifneq ($(CONFIG_VIDEO_V4L2),)
obj-m += $(shell \
- if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 14 ] ; then \
+ if [ $(VERSION) -ge 4 \
+ -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 14 \) ] ; then \
echo "lttng-probe-v4l2.o" ; fi;)
endif
if [ $(VERSION) -ge 3 \
-o \( $(VERSION) -eq 2 -a $(PATCHLEVEL) -ge 6 -a $(SUBLEVEL) -ge 36 \) ] ; then \
echo "lttng-probe-writeback.o" ; fi;)
+else
+$(warning CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem.)
endif