Add metadata transport
[lttng-modules.git] / ltt-debugfs-abi.c
index 4319ef3fbac635f38279f8b21d86ce2c167b1680..99b4196616419e754544e46469da5edba4f9610a 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/file.h>
 #include <linux/uaccess.h>
 #include <linux/slab.h>
-#include "wrapper/symbols.h"   /* for wrapper_vmalloc_sync_all() */
+#include "wrapper/vmalloc.h"   /* for wrapper_vmalloc_sync_all() */
 #include "wrapper/ringbuffer/vfs.h"
 #include "ltt-debugfs-abi.h"
 #include "ltt-events.h"
@@ -47,7 +47,6 @@ static const struct file_operations lttng_event_fops;
 
 enum channel_type {
        PER_CPU_CHANNEL,
-       GLOBAL_CHANNEL,
        METADATA_CHANNEL,
 };
 
@@ -187,13 +186,8 @@ int lttng_abi_create_channel(struct file *session_file,
                        "relay-overwrite" : "relay-discard";
                fops = &lttng_channel_fops;
                break;
-       case GLOBAL_CHANNEL:
-               transport_name = chan_param.overwrite ?
-                       "global-relay-overwrite" : "global-relay-discard";
-               fops = &lttng_channel_fops;
-               break;
        case METADATA_CHANNEL:
-               transport_name = "global-relay-discard";
+               transport_name = "relay-metadata";
                fops = &lttng_metadata_fops;
                break;
        default:
This page took 0.032457 seconds and 4 git commands to generate.