Clean-up: lttng: only include lttng.h
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 24 Feb 2021 19:59:49 +0000 (14:59 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 24 Feb 2021 20:00:21 +0000 (15:00 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I88d56768136895d5a6ad2ffc94f36f9ca36e2fa1

src/bin/lttng/commands/clear.c
src/bin/lttng/commands/create.c
src/bin/lttng/commands/disable_rotation.c
src/bin/lttng/commands/enable_events.c
src/bin/lttng/commands/enable_rotation.c
src/bin/lttng/commands/list.c
src/bin/lttng/commands/load.c
src/bin/lttng/commands/rotate.c
src/bin/lttng/commands/save.c
src/bin/lttng/commands/snapshot.c
src/bin/lttng/commands/track-untrack.c

index b3974837fa987c660271d10890293164335b0f44..61879d61d1d9fd06751c736f5fd813be57bf94f2 100644 (file)
@@ -14,8 +14,7 @@
 #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"
 
index 379ca0a660908c1e3454fafd3d193b83e029e081..22d1790f726f6fed25df5f7d43082fe81d3e034e 100644 (file)
@@ -29,8 +29,7 @@
 #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;
index f5c197f9b8b642aae7fc5fbac24b3d206b703aaf..ff5749c97f52f76c7e44d3d09a49fad347748daf 100644 (file)
@@ -20,7 +20,7 @@
 #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;
index 3286defc314d3d72d410125fed2194462fb1cc75..9d05a9a2613517ac1ec15396479667666f8d7bfd 100644 (file)
@@ -22,7 +22,6 @@
 #include <common/string-utils/string-utils.h>
 #include <common/utils.h>
 
-#include <lttng/constant.h>
 /* Mi dependancy */
 #include <common/mi-lttng.h>
 
index ce69d34e1939f538f3fdce94092260687c7af0c5..c10c6a2d7f475fc93641e05936cde7ec2d7021d4 100644 (file)
@@ -21,7 +21,7 @@
 #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;
index e96fe35dce5a1d5097829d85a9b94b43a2e732b9..4540177941faf9e30f610caf448ff6728c486a45 100644 (file)
@@ -18,8 +18,7 @@
 #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"
 
index 002ec4958945ae2bc7caf9eb3c86537243290a84..aa4771a11e7854c0f073890fd3107b466f46de6a 100644 (file)
@@ -15,7 +15,7 @@
 
 #include <common/mi-lttng.h>
 #include <common/config/session-config.h>
-#include <lttng/load.h>
+#include <lttng/lttng.h>
 
 #include "../command.h"
 
index 4873e5495f9bc15b6cef96ce60a22d939713ba65..ec816315789b83ec5cedb9602db88dc2394fa522 100644 (file)
@@ -21,8 +21,7 @@
 #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;
index 59cd715682719d24976c81bba173e3c68eda4866..7d09a42a28192d0328ad6eb04c1772d9258853a2 100644 (file)
@@ -16,7 +16,7 @@
 #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;
index d357983107ed3312357c74199d272e3a4136694c..22531e8f223070914cad1f37ad8bcbabc51fbae1 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <common/utils.h>
 #include <common/mi-lttng.h>
-#include <lttng/snapshot.h>
+#include <lttng/lttng.h>
 
 #include "../command.h"
 
index d28f8a7e136b321989485976f9e007130655a36e..8a892ef666bf7a47d8b0e8c8d2606014c0d12cc1 100644 (file)
@@ -7,11 +7,6 @@
  *
  */
 
-#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"
 
This page took 0.030941 seconds and 4 git commands to generate.