aboutsummaryrefslogtreecommitdiffstats
path: root/litmus
diff options
context:
space:
mode:
Diffstat (limited to 'litmus')
-rw-r--r--litmus/sched_trace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/litmus/sched_trace.c b/litmus/sched_trace.c
index cea227b13785..ad0b138d4b01 100644
--- a/litmus/sched_trace.c
+++ b/litmus/sched_trace.c
@@ -17,9 +17,9 @@
17 17
18#define SCHED_TRACE_NAME "litmus/log" 18#define SCHED_TRACE_NAME "litmus/log"
19 19
20/* Allocate a buffer of about 1 MB per CPU */ 20/* Allocate a buffer of about 32k per CPU */
21#define LITMUS_TRACE_BUF_ORDER 8 21#define LITMUS_TRACE_BUF_PAGES 8
22#define LITMUS_TRACE_BUF_SIZE (PAGE_SIZE * LITMUS_TRACE_BUF_ORDER) 22#define LITMUS_TRACE_BUF_SIZE (PAGE_SIZE * LITMUS_TRACE_BUF_PAGES * NR_CPUS)
23 23
24/* Max length of one read from the buffer */ 24/* Max length of one read from the buffer */
25#define MAX_READ_LEN (64 * 1024) 25#define MAX_READ_LEN (64 * 1024)