summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/DebugData.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/malloc_debug/DebugData.h')
-rw-r--r--libc/malloc_debug/DebugData.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/malloc_debug/DebugData.h b/libc/malloc_debug/DebugData.h
index 3a3629981..1ad2f6812 100644
--- a/libc/malloc_debug/DebugData.h
+++ b/libc/malloc_debug/DebugData.h
@@ -98,3 +98,9 @@ class DebugData {
};
extern DebugData* g_debug;
+
+// The minimum and maximum allocation sizes
+// for which backtrace will be recorded.
+// They default to 0 and SIZE_MAX respectively
+extern size_t g_min_alloc_to_record;
+extern size_t g_max_alloc_to_record;