projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sample discarded events count before reserve
[lttng-modules.git]
/
include
/
wrapper
/
timer.h
diff --git
a/include/wrapper/timer.h
b/include/wrapper/timer.h
index 76c8a572bf9fddb597e1e45adbd6d342daa5a00a..54649d69773412978aec5000a37136b4d0768643 100644
(file)
--- a/
include/wrapper/timer.h
+++ b/
include/wrapper/timer.h
@@
-10,7
+10,7
@@
#ifndef _LTTNG_WRAPPER_TIMER_H
#define _LTTNG_WRAPPER_TIMER_H
#ifndef _LTTNG_WRAPPER_TIMER_H
#define _LTTNG_WRAPPER_TIMER_H
-#include <l
inux/
version.h>
+#include <l
ttng/kernel-
version.h>
#include <linux/timer.h>
#include <lttng/kernel-version.h>
#include <linux/timer.h>
#include <lttng/kernel-version.h>
@@
-26,7
+26,7
@@
*/
*/
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,15,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,15,0))
#define LTTNG_TIMER_PINNED TIMER_PINNED
#define LTTNG_TIMER_FUNC_ARG_TYPE struct timer_list *
#define LTTNG_TIMER_PINNED TIMER_PINNED
#define LTTNG_TIMER_FUNC_ARG_TYPE struct timer_list *
@@
-41,11
+41,11
@@
timer_setup(timer, callback, flags)
timer_setup(timer, callback, flags)
-#else /* L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,15,0) */
+#else /* L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,15,0) */
# if (LTTNG_RT_VERSION_CODE >= LTTNG_RT_KERNEL_VERSION(4,6,4,8) \
# if (LTTNG_RT_VERSION_CODE >= LTTNG_RT_KERNEL_VERSION(4,6,4,8) \
- || L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,8,0))
+ || L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,8,0))
#define lttng_init_timer_pinned(timer) \
init_timer_pinned(timer)
#define lttng_init_timer_pinned(timer) \
init_timer_pinned(timer)
@@
-84,6
+84,6
@@
static inline void lttng_timer_setup(struct timer_list *timer,
timer->data = (unsigned long)data;
}
timer->data = (unsigned long)data;
}
-#endif /* L
INUX_VERSION_CODE >=
KERNEL_VERSION(4,15,0) */
+#endif /* L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(4,15,0) */
#endif /* _LTTNG_WRAPPER_TIMER_H */
#endif /* _LTTNG_WRAPPER_TIMER_H */
This page took
0.024569 seconds
and
4
git commands to generate.