X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Flttng-relayd.h;h=748083ddfa65e145a6ebde0a98ea9575db35ce86;hp=e4e29e781e3ed8233cfdb6c82ddbe7ee32618038;hb=6ec9dc48cf7f3d5e1fc01f741197c0bacc94bbf0;hpb=7591bab11eceedc6a0d1e02fd6f85592267a63b5 diff --git a/src/bin/lttng-relayd/lttng-relayd.h b/src/bin/lttng-relayd/lttng-relayd.h index e4e29e781..748083ddf 100644 --- a/src/bin/lttng-relayd/lttng-relayd.h +++ b/src/bin/lttng-relayd/lttng-relayd.h @@ -26,6 +26,8 @@ #include +struct sessiond_trace_chunk_registry; + /* * Queue used to enqueue relay requests */ @@ -35,6 +37,12 @@ struct relay_conn_queue { int32_t futex; }; +enum relay_group_output_by { + RELAYD_GROUP_OUTPUT_BY_UNKNOWN, + RELAYD_GROUP_OUTPUT_BY_HOST, + RELAYD_GROUP_OUTPUT_BY_SESSION, +}; + /* * Contains stream indexed by ID. This is important since many commands lookup * streams only by ID thus also keeping them in this hash table makes the @@ -43,10 +51,12 @@ struct relay_conn_queue { extern struct lttng_ht *sessions_ht; extern struct lttng_ht *relay_streams_ht; extern struct lttng_ht *viewer_streams_ht; +extern struct sessiond_trace_chunk_registry *sessiond_trace_chunk_registry; extern char *opt_output_path; extern const char *tracing_group_name; extern const char * const config_section_name; +extern enum relay_group_output_by opt_group_output_by; extern int thread_quit_pipe[2];