}
/* Add channel to all registered applications */
- ret = ust_app_add_channel_all(usess, uchan);
+ ret = ust_app_create_channel_all(usess, uchan);
if (ret != 0) {
goto error;
}
}
- ret = ust_app_add_event_all(usess, uchan, uevent);
+ ret = ust_app_create_event_all(usess, uchan, uevent);
if (ret < 0) {
ret = LTTCOMM_UST_ENABLE_FAIL;
goto error;