Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
/*
* Check if this event's filter requires the activation of application contexts
* and enable them in the agent.
+ * TODO: bytecode iterator does not support non-legacy application
+ * contexts yet. Not an issue for now, since they are not generated by
+ * the lttng-ctl library.
*/
static int add_filter_app_ctx(struct lttng_filter_bytecode *bytecode,
const char *filter_expression, struct agent *agt)
return -EINVAL;
}
+ /*
+ * TODO: if we remove legacy load for application contexts, we
+ * need to update session bytecode parser as well.
+ */
ret = visit_node_load_expression_legacy(ctx, exp, op);
if (ret < 0) {
return ret;