projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop 'linux/uprobes.h' wrapper
[lttng-modules.git]
/
include
/
wrapper
/
objtool.h
diff --git
a/include/wrapper/objtool.h
b/include/wrapper/objtool.h
index 3b997cae56d7837ca6bcd4493d7794c2fc16c074..9b3f4898a39bfae0fa60cc10d680f092397371a7 100644
(file)
--- a/
include/wrapper/objtool.h
+++ b/
include/wrapper/objtool.h
@@
-8,16
+8,17
@@
#ifndef _LTTNG_WRAPPER_OBJTOOL_H
#define _LTTNG_WRAPPER_OBJTOOL_H
#ifndef _LTTNG_WRAPPER_OBJTOOL_H
#define _LTTNG_WRAPPER_OBJTOOL_H
-#include <l
inux/
version.h>
+#include <l
ttng/kernel-
version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,10,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(4,18,0,372,0,0, 4,19,0,0,0,0))
#include <linux/objtool.h>
#include <linux/objtool.h>
-#elif (L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,6,0))
+#elif (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,6,0))
#include <linux/frame.h>
#endif
#include <linux/frame.h>
#endif
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,6,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,6,0))
#define LTTNG_STACK_FRAME_NON_STANDARD(func) \
STACK_FRAME_NON_STANDARD(func)
#define LTTNG_STACK_FRAME_NON_STANDARD(func) \
STACK_FRAME_NON_STANDARD(func)
This page took
0.030509 seconds
and
4
git commands to generate.