projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update RCU instrumentation to Linux 3.12
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
rcu.h
diff --git
a/instrumentation/events/lttng-module/rcu.h
b/instrumentation/events/lttng-module/rcu.h
index ec541ba8cebb645aa740cfc81aa2f1151402d39a..1220fb726b36f45eaee1ca81326c800272373f87 100644
(file)
--- a/
instrumentation/events/lttng-module/rcu.h
+++ b/
instrumentation/events/lttng-module/rcu.h
@@
-20,7
+20,11
@@
*/
TRACE_EVENT(rcu_utilization,
*/
TRACE_EVENT(rcu_utilization,
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0))
+ TP_PROTO(const char *s),
+#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) */
TP_PROTO(char *s),
TP_PROTO(char *s),
+#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) */
TP_ARGS(s),
TP_ARGS(s),
This page took
0.023273 seconds
and
4
git commands to generate.