Fix errors due to lttng.h cleanup
[lttng-tools.git] / liblttngctl / liblttngctl.c
index 2cf79f4ed96987a9b95c59bb373ee1d80d44d1d0..c27ce092825595692b91e4552b250a190dcf486f 100644 (file)
@@ -203,6 +203,26 @@ int lttng_kernel_create_channel(void)
        return ask_sessiond(KERNEL_CREATE_CHANNEL, NULL);
 }
 
+/*
+ *  lttng_kernel_open_metadata
+ *
+ *  Open metadata in the kernel tracer.
+ */
+int lttng_kernel_open_metadata(void)
+{
+       return ask_sessiond(KERNEL_OPEN_METADATA, NULL);
+}
+
+/*
+ *  lttng_kernel_create_stream
+ *
+ *  Create stream in the kernel tracer.
+ */
+int lttng_kernel_create_stream(void)
+{
+       return ask_sessiond(KERNEL_CREATE_STREAM, NULL);
+}
+
 /*
  *  lttng_kernel_start_tracing
  *
@@ -568,5 +588,5 @@ end:
 static void __attribute__((constructor)) init()
 {
        /* Set default session group */
-       lttng_set_tracing_group(DEFAULT_TRACING_GROUP);
+       lttng_set_tracing_group(LTTNG_DEFAULT_TRACING_GROUP);
 }
This page took 0.025696 seconds and 5 git commands to generate.