X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fagent.h;h=b94ceb0b9ef968c908179f4210bb2d48f04ce469;hb=ab21818442628467073e8d2b303f6d5d78a090f5;hp=d08ad6e220360ab87e6ce68b1bc8e9838e21962b;hpb=6a4e403927ffef4cae8726064dcf53c463eb128c;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/agent.h b/src/bin/lttng-sessiond/agent.h index d08ad6e22..b94ceb0b9 100644 --- a/src/bin/lttng-sessiond/agent.h +++ b/src/bin/lttng-sessiond/agent.h @@ -30,9 +30,9 @@ /* * Hash table that contains the agent app created upon registration indexed by - * socket. + * socket. Global to the session daemon. */ -struct lttng_ht *agent_apps_ht_by_sock; +extern struct lttng_ht *agent_apps_ht_by_sock; struct agent_ht_key { const char *name; @@ -58,7 +58,7 @@ struct agent_register_msg { */ struct agent_app { /* - * PID sent during registration of a AGENT application. + * PID sent during registration of an agent application. */ pid_t pid; @@ -92,6 +92,7 @@ struct agent_event { struct lttng_ht_node_str node; /* Bytecode filter associated with the event . NULL if none. */ + char *filter_expression; struct lttng_filter_bytecode *filter; };