include $(TOP_LTTNG_MODULES_DIR)/Kbuild.common
- ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)
+ ccflags-y += -I$(TOP_LTTNG_MODULES_DIR)/include
obj-$(CONFIG_LTTNG) += lttng-ring-buffer-client-discard.o
obj-$(CONFIG_LTTNG) += lttng-ring-buffer-client-overwrite.o
lttng-context-interruptible.o \
lttng-context-need-reschedule.o \
lttng-context-callstack.o lttng-calibrate.o \
- lttng-context-hostname.o wrapper/random.o \
- probes/lttng.o wrapper/trace-clock.o \
- wrapper/page_alloc.o \
+ lttng-context-hostname.o \
+ probes/lttng.o trace-clock.o \
lttng-tracker-id.o \
lttng-filter.o lttng-filter-interpreter.o \
lttng-filter-specialize.o \
lttng-tracer-objs += lttng-context-preemptible.o
endif
- lttng-tracer-objs += $(shell \
- if [ $(VERSION) -ge 4 \
- -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 15 \) ] ; then \
- echo "lttng-tracepoint.o" ; fi;)
+ lttng-tracer-objs += lttng-tracepoint.o
lttng-tracer-objs += lttng-context-cgroup-ns.o