X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fagent.h;fp=src%2Fbin%2Flttng-sessiond%2Fagent.h;h=ea5662754aef05fdecafe576b0abb97c2b9783eb;hp=c0808c48fe50ab0845aba4572d3607b576446f4e;hb=df4f5a87a21110a5f9447bcfd7ffeb25098a5fd4;hpb=885e05c50f81e77fc3a14a36064c4ef702127cd7 diff --git a/src/bin/lttng-sessiond/agent.h b/src/bin/lttng-sessiond/agent.h index c0808c48f..ea5662754 100644 --- a/src/bin/lttng-sessiond/agent.h +++ b/src/bin/lttng-sessiond/agent.h @@ -153,9 +153,10 @@ void agent_delete_event(struct agent_event *event, struct agent *agt); void agent_destroy_event(struct agent_event *event); /* Agent context API.*/ -int agent_enable_context(struct lttng_event_context *ctx, +int agent_enable_context(const struct lttng_event_context *ctx, enum lttng_domain_type domain); -int agent_add_context(struct lttng_event_context *ctx, struct agent *agt); +int agent_add_context(const struct lttng_event_context *ctx, + struct agent *agt); /* Agent app API. */ struct agent_app *agent_create_app(pid_t pid, enum lttng_domain_type domain,