X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fwrapper%2Fuprobes.h;h=9cbbe3b2fdffd33a650a103e5510532f9b715d39;hb=93e5bcec1d8d550a1983bbc013248dbd83573cc7;hp=f5487e1b16a6677215ede184d427d9b94c15da95;hpb=213231d6136bfa2152661da47d679fe30feffe1e;p=lttng-modules.git diff --git a/include/wrapper/uprobes.h b/include/wrapper/uprobes.h index f5487e1b..9cbbe3b2 100644 --- a/include/wrapper/uprobes.h +++ b/include/wrapper/uprobes.h @@ -14,13 +14,13 @@ #ifndef _LTTNG_WRAPPER_UPROBES_H #define _LTTNG_WRAPPER_UPROBES_H -#include +#include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,5,0)) #include /* Use kallsym lookup for version before 3.9. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,9,0)) static inline int wrapper_uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc)