Signed-off-by: David Goulet <david.goulet@polymtl.ca>
#include <stdlib.h>
+#include <lttng/lttng.h>
+
/* Default channel attributes */
#define DEFAULT_CHANNEL_NAME "channel0"
#define DEFAULT_CHANNEL_OVERWRITE 0 /* usec */
#define DEFAULT_UST_CHANNEL_SUBBUF_SIZE 4096 /* bytes */
/* Must be a power of 2 */
#define DEFAULT_UST_CHANNEL_SUBBUF_NUM 4
+/* See lttng-ust.h enum lttng_ust_output */
+#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP
/*
* Takes a pointer x and transform it so we can use it to access members
#define LTTNG_UST_COMM_VERSION_MAJOR 0
#define LTTNG_UST_COMM_VERSION_MINOR 1
-/* See lttng-ust.h enum lttng_ust_output */
-#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP
-
enum lttng_ust_instrumentation {
LTTNG_UST_TRACEPOINT = 0,
LTTNG_UST_PROBE = 1,