#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <assert.h>
#include <common/mi-lttng.h>
#include "../command.h"
-#include <lttng/save.h>
+#include <lttng/lttng.h>
static char *opt_output_path;
static bool opt_force;
static int mi_partial_session(const char *session_name)
{
int ret;
- assert(writer);
- assert(session_name);
+ LTTNG_ASSERT(writer);
+ LTTNG_ASSERT(session_name);
/* Open session element */
ret = mi_lttng_writer_open_element(writer, config_element_session);
static int mi_save_print(const char *session_name)
{
int ret;
- assert(writer);
+ LTTNG_ASSERT(writer);
if (opt_save_all) {
/* We use a wildcard to represent all sessions */