Cygwin: Introduce new LTTNG_UST_STREAM_PIPE command to open wakeup pipe
[lttng-ust.git] / liblttng-ust / lttng-ust-abi.c
index a3edd3ead7d93343c26fd1067449f98713658cb9..c0e089d0022b5362dc44b477c5349bdb08d553dd 100644 (file)
@@ -783,6 +783,8 @@ long lttng_channel_cmd(int objd, unsigned int cmd, unsigned long arg,
                return ltt_channel_disable(channel);
        case LTTNG_UST_FLUSH_BUFFER:
                return channel->ops->flush_buffer(channel->chan, channel->handle);
+       case LTTNG_UST_STREAM_PIPE:
+               return channel->ops->channel_open_pipe(channel->chan, channel->handle);
        default:
                return -EINVAL;
        }
@@ -819,6 +821,8 @@ long lttng_metadata_cmd(int objd, unsigned int cmd, unsigned long arg,
        }
        case LTTNG_UST_FLUSH_BUFFER:
                return channel->ops->flush_buffer(channel->chan, channel->handle);
+       case LTTNG_UST_STREAM_PIPE:
+               return channel->ops->channel_open_pipe(channel->chan, channel->handle);
        default:
                return -EINVAL;
        }
This page took 0.023789 seconds and 4 git commands to generate.