Save filter expressions as part of agent events
[lttng-tools.git] / src / bin / lttng-sessiond / agent.h
index d08ad6e220360ab87e6ce68b1bc8e9838e21962b..77c8faf584886e4590a7ae92ba73d4528aecaa3d 100644 (file)
@@ -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;
@@ -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;
 };
 
This page took 0.025153 seconds and 4 git commands to generate.