X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-sessiond%2Ftrace.h;h=493a23636847a65fe3b1c06cedee5057ee1179a9;hb=d36b858358a8ef4e00de843379d670925f9c23b6;hp=8da147230e22a928ec89b7b33f37c9a84d02cc8c;hpb=e953ef25cbc11fb112aa2e23bf2d44867fe585ed;p=lttng-tools.git diff --git a/ltt-sessiond/trace.h b/ltt-sessiond/trace.h index 8da147230..493a23636 100644 --- a/ltt-sessiond/trace.h +++ b/ltt-sessiond/trace.h @@ -52,6 +52,7 @@ struct ltt_kernel_event { /* Kernel channel */ struct ltt_kernel_channel { int fd; + int enabled; char *pathname; unsigned int stream_count; struct lttng_channel *channel; @@ -101,6 +102,14 @@ struct ltt_ust_marker { char *channel; }; +/* + * Get functions. + */ +struct ltt_kernel_event *get_kernel_event_by_name( + char *name, struct ltt_kernel_channel *channel); +struct ltt_kernel_channel *get_kernel_channel_by_name( + char *name, struct ltt_kernel_session *session); + /* * Create functions malloc() the data structure. */