Clean-up: move global sessiond symbols out of main.o
[lttng-tools.git] / src / bin / lttng-sessiond / globals.c
diff --git a/src/bin/lttng-sessiond/globals.c b/src/bin/lttng-sessiond/globals.c
new file mode 100644 (file)
index 0000000..fe92474
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
+ *                      Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *               2013 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License, version 2 only,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include "lttng-sessiond.h"
+
+int ust_consumerd64_fd = -1;
+int ust_consumerd32_fd = -1;
+
+long page_size;
+
+struct health_app *health_sessiond;
+
+struct notification_thread_handle *notification_thread_handle;
+
+struct lttng_ht *agent_apps_ht_by_sock = NULL;
+
+int kernel_tracer_fd = -1;
+
+int apps_cmd_notify_pipe[2] = { -1, -1 };
+
+pid_t ppid;
+pid_t child_ppid;
+
+struct sessiond_config config;
This page took 0.02412 seconds and 4 git commands to generate.