Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#ifndef _LTTNG_KCONSUMERD_H
#define _LTTNG_KCONSUMERD_H
+#include <lttng/lttng-sessiond-comm.h>
#include "lttng-share.h"
/* Kernel consumer path */
-#define KCONSUMERD_PATH LTTNG_RUNDIR "/kconsumerd"
+#define KCONSUMERD_PATH LTTNG_RUNDIR "/kconsumerd"
#define KCONSUMERD_CMD_SOCK_PATH KCONSUMERD_PATH "/command"
#define KCONSUMERD_ERR_SOCK_PATH KCONSUMERD_PATH "/error"
typedef __s64 s64;
-#define LTTNG_RUNDIR "/var/run/lttng"
-
/* Default channel attributes */
#define DEFAULT_CHANNEL_NAME "channel0"
#define DEFAULT_CHANNEL_OVERWRITE 0 /* usec */
#include <limits.h>
#include <lttng/lttng.h>
+#define LTTNG_RUNDIR "/var/run/lttng"
+
/* Default unix socket path */
#define DEFAULT_GLOBAL_CLIENT_UNIX_SOCK LTTNG_RUNDIR "/client-ltt-sessiond"
#define DEFAULT_GLOBAL_APPS_UNIX_SOCK LTTNG_RUNDIR "/apps-ltt-sessiond"