X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fchannel.c;h=ff2db69db7389976c0c1dd3bd891cf5fbc969620;hb=994fa64fa6931b256e76caef3d35a9caf1a3d2a6;hp=bb5b3d1de32cc00c19cba668a060d26982dc774f;hpb=2e8269f7b53395c9c67a73756aa71b6baaff23aa;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/channel.c b/src/bin/lttng-sessiond/channel.c index bb5b3d1de..ff2db69db 100644 --- a/src/bin/lttng-sessiond/channel.c +++ b/src/bin/lttng-sessiond/channel.c @@ -214,7 +214,7 @@ int channel_ust_enable(struct ltt_ust_session *usess, * successfully created on the session daemon side so the enable-channel * command is a success. */ - (void) ust_app_create_channel_glb(usess, uchan); + (void) ust_app_enable_channel_glb(usess, uchan); uchan->enabled = 1; DBG2("Channel %s enabled successfully", uchan->name); @@ -293,7 +293,7 @@ int channel_ust_create(struct ltt_ust_session *usess, } /* Create UST channel */ - uchan = trace_ust_create_channel(attr, usess->pathname); + uchan = trace_ust_create_channel(attr); if (uchan == NULL) { ret = LTTNG_ERR_FATAL; goto error;