Add enable kernel channel support
[lttng-tools.git] / ltt-sessiond / trace.h
index 8da147230e22a928ec89b7b33f37c9a84d02cc8c..493a23636847a65fe3b1c06cedee5057ee1179a9 100644 (file)
@@ -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.
  */
This page took 0.022957 seconds and 4 git commands to generate.