cmd.type = NOTIFICATION_COMMAND_TYPE_QUIT;
ret = run_command_wait(handle, &cmd);
cmd.type = NOTIFICATION_COMMAND_TYPE_QUIT;
ret = run_command_wait(handle, &cmd);
struct lttng_event_notifier_notification *lttng_event_notifier_notification_create(
uint64_t tracer_token,
enum lttng_domain_type domain,
struct lttng_event_notifier_notification *lttng_event_notifier_notification_create(
uint64_t tracer_token,
enum lttng_domain_type domain,
- assert(domain != LTTNG_DOMAIN_NONE);
- assert((payload && payload_size) || (!payload && !payload_size));
+ LTTNG_ASSERT(domain != LTTNG_DOMAIN_NONE);
+ LTTNG_ASSERT((payload && payload_size) || (!payload && !payload_size));
notification = zmalloc(sizeof(struct lttng_event_notifier_notification));
if (notification == NULL) {
notification = zmalloc(sizeof(struct lttng_event_notifier_notification));
if (notification == NULL) {
void lttng_event_notifier_notification_destroy(
struct lttng_event_notifier_notification *notification)
{
void lttng_event_notifier_notification_destroy(
struct lttng_event_notifier_notification *notification)
{