[lttng-dev] [PATCH 3/3] Remove previous default subbuf sizes definitions.

Simon Marchi simon.marchi at polymtl.ca
Fri Nov 9 01:39:08 EST 2012


This commit removes defines that are now unused.

Signed-off-by: Simon Marchi <simon.marchi at polymtl.ca>
---
 src/common/defaults.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/common/defaults.h b/src/common/defaults.h
index efff43e..7319b35 100644
--- a/src/common/defaults.h
+++ b/src/common/defaults.h
@@ -98,15 +98,12 @@
 /* Default channel attributes */
 #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 */
 /* DEFAULT_CHANNEL_SUBBUF_NUM must always be a power of 2 */
 #define DEFAULT_CHANNEL_SUBBUF_NUM      4
 #define DEFAULT_CHANNEL_SWITCH_TIMER    0       /* usec */
 #define DEFAULT_CHANNEL_READ_TIMER		200     /* usec */
 #define DEFAULT_CHANNEL_OUTPUT          LTTNG_EVENT_MMAP
 
-#define DEFAULT_METADATA_SUBBUF_SIZE    4096
 #define DEFAULT_METADATA_SUBBUF_NUM     2
 
 size_t get_default_channel_subbuf_size(void);
@@ -128,8 +125,6 @@ size_t get_default_kernel_channel_subbuf_size(void);
 
 /* User space defaults */
 
-/* Must be a power of 2 */
-#define DEFAULT_UST_CHANNEL_SUBBUF_SIZE     4096    /* bytes */
 /* Must be a power of 2. Update help manuall if override. */
 #define DEFAULT_UST_CHANNEL_SUBBUF_NUM      DEFAULT_CHANNEL_SUBBUF_NUM
 /* See lttng-ust.h enum lttng_ust_output */
-- 
1.7.1




More information about the lttng-dev mailing list