enum lttng_error_code ret_code;
struct notification_thread_command cmd = {};
+ assert(trigger);
init_notification_thread_command(&cmd);
cmd.type = NOTIFICATION_COMMAND_TYPE_REGISTER_TRIGGER;
+ lttng_trigger_get(trigger);
cmd.parameters.trigger = trigger;
ret = run_command_wait(handle, &cmd);