-struct agent_event *agent_create_event(const char *name,
- struct lttng_filter_bytecode *filter);
+struct agent_event *agent_create_event(const char *name, int loglevel,
+ enum lttng_loglevel_type loglevel_type,
+ struct lttng_filter_bytecode *filter,
+ char *filter_expression);