From: Francis Deslauriers Date: Wed, 18 Dec 2019 21:40:49 +0000 (-0500) Subject: Docs: explain why unused `lttng_enabler::ctx` is kept around X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;ds=sidebyside;h=2954b37c7e2100dd7ddb3cdd81b67f4cb692524f;p=deliverable%2Flttng-modules.git Docs: explain why unused `lttng_enabler::ctx` is kept around Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: If2c6b9203ea324bb1ff4051b0a705e7303dbf3a6 --- diff --git a/include/lttng/events.h b/include/lttng/events.h index 72a12857..a8a39a60 100644 --- a/include/lttng/events.h +++ b/include/lttng/events.h @@ -347,6 +347,10 @@ struct lttng_enabler { struct lttng_kernel_event event_param; struct lttng_channel *chan; + /* + * Unused, but kept around to make it explicit that the tracer can do + * it. + */ struct lttng_ctx *ctx; unsigned int enabled:1; };