Add enable kernel event using the enable ioctl
[lttng-tools.git] / ltt-sessiond / trace.h
index 8fdef2a37721443de94c1fabe92669073cff49d1..427b05b8814be010bd72b2ce0caf15c753fa8f51 100644 (file)
@@ -44,6 +44,7 @@ struct ltt_kernel_channel_list {
 /* Kernel event */
 struct ltt_kernel_event {
        int fd;
+       int enabled;
        struct lttng_kernel_event *event;
        struct cds_list_head list;
 };
@@ -100,6 +101,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.023387 seconds and 4 git commands to generate.