X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fchannel.c;h=e2cdf563a6bbc42f9cf6f583b323c8c25b6217b8;hp=dfc7892674bbe1f15dc74d818175ea3c60c3c65d;hb=a79d84dd6bf849361c34616ae9f60786c6a6bf20;hpb=241aaca956f25a6604eac5c13cf14ddea42c2174 diff --git a/src/bin/lttng-sessiond/channel.c b/src/bin/lttng-sessiond/channel.c index dfc789267..e2cdf563a 100644 --- a/src/bin/lttng-sessiond/channel.c +++ b/src/bin/lttng-sessiond/channel.c @@ -254,6 +254,11 @@ int channel_ust_create(struct ltt_ust_session *usess, int domain, goto error; } + if (attr->attr.output != LTTNG_EVENT_MMAP) { + ret = LTTNG_ERR_NOT_SUPPORTED; + goto error; + } + /* Create UST channel */ uchan = trace_ust_create_channel(attr, usess->pathname); if (uchan == NULL) {