#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <assert.h>
#include <common/mi-lttng.h>
#include <common/time.h>
#include <common/tracker.h>
+#include <lttng/domain-internal.h>
#include <lttng/lttng.h>
#include "../command.h"
/* Fall-through. */
default:
/* We should never have "all" events in list. */
- assert(0);
+ abort();
break;
}
goto error;
}
- agent_domain_str = get_domain_str(domain.type);
+ agent_domain_str = lttng_domain_type_str(domain.type);
DBG("Getting %s tracing events", agent_domain_str);