X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fagent.h;h=b0a4fa863c3e0fca98a688bdd98d840cd25d760b;hp=e82f32627937c162b26464ac1024815750b7e0f3;hb=ddd915a3dd0eeb1667286051cc1e17017436fe5e;hpb=44760c20f4fc255b63894ca758cf2ee5f253220b diff --git a/src/bin/lttng-sessiond/agent.h b/src/bin/lttng-sessiond/agent.h index e82f32627..b0a4fa863 100644 --- a/src/bin/lttng-sessiond/agent.h +++ b/src/bin/lttng-sessiond/agent.h @@ -22,11 +22,11 @@ * Hash table that contains the agent app created upon registration indexed by * socket. Global to the session daemon. */ -extern struct lttng_ht *agent_apps_ht_by_sock; +extern struct lttng_ht *the_agent_apps_ht_by_sock; /* * Hash table that contains the trigger agents by domain */ -extern struct lttng_ht *trigger_agents_ht_by_domain; +extern struct lttng_ht *the_trigger_agents_ht_by_domain; struct agent_ht_key { const char *name; @@ -98,7 +98,7 @@ struct agent_event { struct lttng_ht_node_str node; /* Filter associated with the event. NULL if none. */ - struct lttng_filter_bytecode *filter; + struct lttng_bytecode *filter; char *filter_expression; struct lttng_event_exclusion *exclusion; }; @@ -146,7 +146,7 @@ void agent_add(struct agent *agt, struct lttng_ht *ht); /* Agent event API. */ struct agent_event *agent_create_event(const char *name, enum lttng_loglevel_type loglevel_type, int loglevel_value, - struct lttng_filter_bytecode *filter, + struct lttng_bytecode *filter, char *filter_expression); void agent_add_event(struct agent_event *event, struct agent *agt);