X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2FKbuild;h=7a0b6507336a0485e514d60242eb849ed91f5964;hb=1c124020c743254923d8e76ab5dcd1f69709982e;hp=70a3d8689438793b6f0bb92aa65d03c1c6bd8eda;hpb=751494f999a67abe0039a32f1c899c1663732864;p=lttng-modules.git diff --git a/probes/Kbuild b/probes/Kbuild index 70a3d868..7a0b6507 100644 --- a/probes/Kbuild +++ b/probes/Kbuild @@ -12,6 +12,13 @@ obj-$(CONFIG_LTTNG) += lttng-probe-module.o obj-$(CONFIG_LTTNG) += lttng-probe-power.o obj-$(CONFIG_LTTNG) += lttng-probe-statedump.o +ifneq ($(CONFIG_NET_9P),) + obj-$(CONFIG_LTTNG) += $(shell \ + if [ $(VERSION) -ge 4 \ + -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -eq 10 \) ] ; then \ + echo "lttng-probe-9p.o" ; fi;) +endif # CONFIG_NET_9P + i2c_dep = $(srctree)/include/trace/events/i2c.h ifneq ($(wildcard $(i2c_dep)),) obj-$(CONFIG_LTTNG) += lttng-probe-i2c.o @@ -266,4 +273,8 @@ ifneq ($(CONFIG_DYNAMIC_FTRACE),) endif endif # CONFIG_DYNAMIC_FTRACE +ifneq ($(CONFIG_PREEMPTIRQ_EVENTS),) + obj-$(CONFIG_LTTNG) += lttng-probe-preemptirq.o +endif # CONFIG_PREEMPTIRQ_EVENTS + # vim:syntax=make