From 28ca4a8b53068907137724e2e078b29cecf525f7 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 26 Sep 2011 18:32:45 -0400 Subject: [PATCH] Fix UST define in global headers Signed-off-by: David Goulet --- include/lttng-share.h | 4 ++++ include/lttng-ust.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/lttng-share.h b/include/lttng-share.h index f6169bfd0..78abff6ae 100644 --- a/include/lttng-share.h +++ b/include/lttng-share.h @@ -21,6 +21,8 @@ #include +#include + /* Default channel attributes */ #define DEFAULT_CHANNEL_NAME "channel0" #define DEFAULT_CHANNEL_OVERWRITE 0 /* usec */ @@ -50,6 +52,8 @@ #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 diff --git a/include/lttng-ust.h b/include/lttng-ust.h index b61c320d5..b7143f871 100644 --- a/include/lttng-ust.h +++ b/include/lttng-ust.h @@ -19,9 +19,6 @@ #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, -- 2.34.1