projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: timer instrumentation for RHEL 7.6
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
timer.h
diff --git
a/instrumentation/events/lttng-module/timer.h
b/instrumentation/events/lttng-module/timer.h
index 6f0cb7f333fdf5bd5bade568df9e4010bdf8fc7d..8807ad514ed4c203129bf0a87583a5fa577babaf 100644
(file)
--- a/
instrumentation/events/lttng-module/timer.h
+++ b/
instrumentation/events/lttng-module/timer.h
@@
-44,7
+44,8
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE(timer_class, timer_init,
TP_ARGS(timer)
)
TP_ARGS(timer)
)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,2,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(3,10,0,957,0,0, 3,11,0,0,0,0))
/**
* timer_start - called when the timer is started
* @timer: pointer to struct timer_list
/**
* timer_start - called when the timer is started
* @timer: pointer to struct timer_list
This page took
0.02393 seconds
and
4
git commands to generate.