X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2FMakefile;h=8e4ceb7b3e4903b87542b33ab6546c40dbe3c019;hb=931b3b2547214948787ae4d6a031f0a155b2bbbb;hp=63ca7ba9828ff201e91d028b274886d943ac387f;hpb=0862130a2245c3bab8836177e80ea163236d5058;p=lttng-modules.git diff --git a/probes/Makefile b/probes/Makefile index 63ca7ba9..8e4ceb7b 100644 --- a/probes/Makefile +++ b/probes/Makefile @@ -197,6 +197,12 @@ obj-m += $(shell \ echo "lttng-probe-sunrpc.o" ; fi;) endif +ifneq ($(CONFIG_VIDEO_V4L2),) +obj-m += $(shell \ + if [ $(VERSION) -ge 3 -a $(PATCHLEVEL) -ge 14 ] ; then \ + echo "lttng-probe-v4l2.o" ; fi;) +endif + obj-m += lttng-probe-workqueue.o ifneq ($(CONFIG_KALLSYMS_ALL),) @@ -204,6 +210,8 @@ obj-m += $(shell \ 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