projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: dma-fence.h appears in Linux 4.10, not 4.9
[lttng-modules.git]
/
include
/
wrapper
/
kallsyms.h
diff --git
a/include/wrapper/kallsyms.h
b/include/wrapper/kallsyms.h
index 7f4d8300c53eb591bd7e55b84529bd2ab634e288..6a3e27e986e0b72d0e2c843f2b9f854e9ed940cd 100644
(file)
--- a/
include/wrapper/kallsyms.h
+++ b/
include/wrapper/kallsyms.h
@@
-14,7
+14,7
@@
#define _LTTNG_WRAPPER_KALLSYMS_H
#include <linux/kallsyms.h>
#define _LTTNG_WRAPPER_KALLSYMS_H
#include <linux/kallsyms.h>
-#include <l
inux/
version.h>
+#include <l
ttng/kernel-
version.h>
/*
* PowerPC ABIv1 needs KALLSYMS_ALL to get the function descriptor,
/*
* PowerPC ABIv1 needs KALLSYMS_ALL to get the function descriptor,
@@
-26,11
+26,11
@@
# endif
#endif
# endif
#endif
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(5,7,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(5,7,0))
unsigned long wrapper_kallsyms_lookup_name(const char *name);
unsigned long wrapper_kallsyms_lookup_name(const char *name);
-#else /* #if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(5,7,0)) */
+#else /* #if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(5,7,0)) */
static inline
unsigned long wrapper_kallsyms_lookup_name(const char *name)
static inline
unsigned long wrapper_kallsyms_lookup_name(const char *name)
@@
-38,7
+38,7
@@
unsigned long wrapper_kallsyms_lookup_name(const char *name)
return kallsyms_lookup_name(name);
}
return kallsyms_lookup_name(name);
}
-#endif /* #else #if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(5,7,0)) */
+#endif /* #else #if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(5,7,0)) */
static inline
unsigned long kallsyms_lookup_funcptr(const char *name)
static inline
unsigned long kallsyms_lookup_funcptr(const char *name)
This page took
0.024351 seconds
and
4
git commands to generate.