diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-22 12:58:25 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-22 12:58:25 -0400 |
commit | af096ad5e6bb7ea899cdefb6edb40c6451955dfc (patch) | |
tree | 01463dd3ebd57d0939762c633024afbfa38ceec4 | |
parent | 660e3e3773f63c99c4eaabed3a49344628719e29 (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.c | 3 |
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 | ||
107 | static DECLARE_MUTEX(feather_lock); | 108 | static DECLARE_MUTEX(feather_lock); |
108 | static int use_count = 0; | 109 | static int use_count = 0; |