aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-22 12:58:25 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-05-22 12:58:25 -0400
commitaf096ad5e6bb7ea899cdefb6edb40c6451955dfc (patch)
tree01463dd3ebd57d0939762c633024afbfa38ceec4
parent660e3e3773f63c99c4eaabed3a49344628719e29 (diff)
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.
-rw-r--r--litmus/trace.c3
1 files changed, 2 insertions, 1 deletions
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)
102/* DEVICE FILE DRIVER */ 102/* DEVICE FILE DRIVER */
103/******************************************************************************/ 103/******************************************************************************/
104 104
105#define NO_TIMESTAMPS 262144 105#define NO_TIMESTAMPS (2 << 19) /* that should be 8 megs of ram, we may not get
106 * as much */
106 107
107static DECLARE_MUTEX(feather_lock); 108static DECLARE_MUTEX(feather_lock);
108static int use_count = 0; 109static int use_count = 0;