From: David Goulet Date: Thu, 30 Jun 2011 16:34:57 +0000 (-0400) Subject: Fix comments spacing X-Git-Tag: v2.0-pre1~60 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=8ce37aa529d4d3cc5503605a5a4355395aeb1bd2 Fix comments spacing Signed-off-by: David Goulet --- diff --git a/include/lttng-share.h b/include/lttng-share.h index f75ad773d..825456c56 100644 --- a/include/lttng-share.h +++ b/include/lttng-share.h @@ -30,17 +30,17 @@ typedef __s64 s64; #define LTTNG_RUNDIR "/var/run/lttng" /* Default channel attributes */ -#define DEFAULT_CHANNEL_NAME "channel0" -#define DEFAULT_CHANNEL_OVERWRITE 0 +#define DEFAULT_CHANNEL_NAME "channel0" +#define DEFAULT_CHANNEL_OVERWRITE 0 /* usec */ /* DEFAULT_CHANNEL_SUBBUF_SIZE must always be a power of 2 */ -#define DEFAULT_CHANNEL_SUBBUF_SIZE 4096 /* bytes */ +#define DEFAULT_CHANNEL_SUBBUF_SIZE 4096 /* bytes */ /* DEFAULT_CHANNEL_SUBBUF_NUM must always be a power of 2 */ -#define DEFAULT_CHANNEL_SUBBUF_NUM 8 -#define DEFAULT_CHANNEL_SWITCH_TIMER 0 /* usec */ -#define DEFAULT_CHANNEL_READ_TIMER 200 /* usec */ +#define DEFAULT_CHANNEL_SUBBUF_NUM 8 +#define DEFAULT_CHANNEL_SWITCH_TIMER 0 /* usec */ +#define DEFAULT_CHANNEL_READ_TIMER 200 /* usec */ /* See lttng.h enum lttng_kernel_output for channel output */ -#define DEFAULT_KERNEL_CHANNEL_OUTPUT LTTNG_KERNEL_SPLICE -#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP +#define DEFAULT_KERNEL_CHANNEL_OUTPUT LTTNG_KERNEL_SPLICE +#define DEFAULT_UST_CHANNEL_OUTPUT LTTNG_UST_MMAP /* * lttng user-space instrumentation type diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 5f6030061..83838dcb7 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -113,12 +113,12 @@ struct lttng_event { /* Tracer channel attributes */ struct lttng_channel_attr { - int overwrite; /* 1: overwrite, 0: discard */ - uint64_t subbuf_size; /* bytes */ - uint64_t num_subbuf; /* power of 2 */ - unsigned int switch_timer_interval; /* usec */ - unsigned int read_timer_interval; /* usec */ - enum lttng_kernel_output output; /* splice, mmap */ + int overwrite; /* 1: overwrite, 0: discard */ + uint64_t subbuf_size; /* bytes */ + uint64_t num_subbuf; /* power of 2 */ + unsigned int switch_timer_interval; /* usec */ + unsigned int read_timer_interval; /* usec */ + enum lttng_kernel_output output; /* splice, mmap */ }; /*