#include <lttng/snapshot-internal.h>
#include <lttng/snapshot.h>
-#include <assert.h>
#include <stdlib.h>
LTTNG_HIDDEN
{
bool equal = false;
- assert(a);
- assert(b);
+ LTTNG_ASSERT(a);
+ LTTNG_ASSERT(b);
if (a->max_size != b->max_size) {
goto end;
int ret;
enum lttng_error_code ret_code;
- assert(output);
- assert(writer);
+ LTTNG_ASSERT(output);
+ LTTNG_ASSERT(writer);
/* Open output element. */
ret = mi_lttng_writer_open_element(writer,