summaryrefslogtreecommitdiff
path: root/lib/tsan/rtl/tsan_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsan/rtl/tsan_trace.h')
-rw-r--r--lib/tsan/rtl/tsan_trace.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/tsan/rtl/tsan_trace.h b/lib/tsan/rtl/tsan_trace.h
index 5e46bfb7a..97ec96975 100644
--- a/lib/tsan/rtl/tsan_trace.h
+++ b/lib/tsan/rtl/tsan_trace.h
@@ -19,12 +19,12 @@
namespace __tsan {
-const int kTracePartSize = 16 * 1024;
#ifndef TSAN_HISTORY_SIZE // in kibitraces
-const int kTraceParts = 8;
-#else
-const int kTraceParts = TSAN_HISTORY_SIZE * 1024 / kTracePartSize;
+#define TSAN_HISTORY_SIZE 128
#endif
+
+const int kTracePartSize = 16 * 1024;
+const int kTraceParts = TSAN_HISTORY_SIZE * 1024 / kTracePartSize;
const int kTraceSize = kTracePartSize * kTraceParts;
// Must fit into 3 bits.