#include <sys/types.h>
#include <unistd.h>
#include <stdbool.h>
-#include <lttng/clear.h>
-#include <lttng/clear-handle.h>
+#include <lttng/lttng.h>
#include "../command.h"
#include <common/sessiond-comm/sessiond-comm.h>
#include <common/uri.h>
#include <common/utils.h>
-#include <lttng/snapshot.h>
-#include <lttng/session-descriptor.h>
+#include <lttng/lttng.h>
static char *opt_output_path;
static char *opt_session_name;
#include <common/mi-lttng.h>
#include "../command.h"
-#include <lttng/rotation.h>
+#include <lttng/lttng.h>
static char *opt_session_name;
static struct mi_writer *writer;
#include <common/string-utils/string-utils.h>
#include <common/utils.h>
-#include <lttng/constant.h>
/* Mi dependancy */
#include <common/mi-lttng.h>
#include <common/utils.h>
#include "../command.h"
-#include <lttng/rotation.h>
+#include <lttng/lttng.h>
static char *opt_session_name;
static struct mi_writer *writer;
#include <common/mi-lttng.h>
#include <common/time.h>
#include <common/tracker.h>
-#include <lttng/constant.h>
-#include <lttng/tracker.h>
+#include <lttng/lttng.h>
#include "../command.h"
#include <common/mi-lttng.h>
#include <common/config/session-config.h>
-#include <lttng/load.h>
+#include <lttng/lttng.h>
#include "../command.h"
#include <common/mi-lttng.h>
#include "../command.h"
-#include <lttng/rotation.h>
-#include <lttng/location.h>
+#include <lttng/lttng.h>
static char *opt_session_name;
static int opt_no_wait;
#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;
#include <common/utils.h>
#include <common/mi-lttng.h>
-#include <lttng/snapshot.h>
+#include <lttng/lttng.h>
#include "../command.h"
*
*/
-#include "common/dynamic-buffer.h"
-#include "common/tracker.h"
-#include "lttng/domain.h"
-#include "lttng/lttng-error.h"
-#include "lttng/tracker.h"
#define _LGPL_SOURCE
#include <ctype.h>
#include <popt.h>
#include <common/dynamic-array.h>
#include <common/mi-lttng.h>
#include <common/optional.h>
+#include <common/dynamic-buffer.h>
+#include <common/tracker.h>
+
+#include <lttng/lttng.h>
#include "../command.h"