X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Frcu.h;h=1220fb726b36f45eaee1ca81326c800272373f87;hb=13ab8b0a749053960f81a4924a3ed27775518f94;hp=ec541ba8cebb645aa740cfc81aa2f1151402d39a;hpb=4b4111c93ece8ea32ad24c73392baee0b57ff324;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),