From 416165a551d37c6501034a30401da626f3b6acff Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Wed, 18 Dec 2019 16:46:21 -0500 Subject: [PATCH] Docs: explain why unused `lttng_enabler::ctx` is kept around Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: I93cc035ced57e29f3d675c8c611d5319194e6cfb --- include/lttng/ust-events.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 905dbb6a..c1a85173 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -366,6 +366,10 @@ struct lttng_enabler { struct lttng_ust_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; }; -- 2.34.1