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