X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Frcu.h;h=1220fb726b36f45eaee1ca81326c800272373f87;hb=8e6213127497f61d85c3c8cdd9f2e245b00a734a;hp=ec541ba8cebb645aa740cfc81aa2f1151402d39a;hpb=1fbc5fe2d07fc7710e5f59e76b08dab384a34f39;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/rcu.h b/instrumentation/events/lttng-module/rcu.h index ec541ba8..1220fb72 100644 --- a/instrumentation/events/lttng-module/rcu.h +++ b/instrumentation/events/lttng-module/rcu.h @@ -20,7 +20,11 @@ */ 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), +#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) */ TP_ARGS(s),