From af096ad5e6bb7ea899cdefb6edb40c6451955dfc Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Thu, 22 May 2008 12:58:25 -0400 Subject: Feather-Trace: Increase the trace buffer size We probably don't get such a big buffer, but the allocation code scales it down if such a large memory chunk is not available. --- litmus/trace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litmus/trace.c b/litmus/trace.c index bfe4ed4467..dadb09d863 100644 --- a/litmus/trace.c +++ b/litmus/trace.c @@ -102,7 +102,8 @@ static void free_ft_buffer(struct ft_buffer* buf) /* DEVICE FILE DRIVER */ /******************************************************************************/ -#define NO_TIMESTAMPS 262144 +#define NO_TIMESTAMPS (2 << 19) /* that should be 8 megs of ram, we may not get + * as much */ static DECLARE_MUTEX(feather_lock); static int use_count = 0; -- cgit v1.2.2