aboutsummaryrefslogtreecommitdiff
path: root/malloc/memusage.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-02-06 18:27:08 +0000
committerUlrich Drepper <drepper@redhat.com>2009-02-06 18:27:08 +0000
commite2e390fad8271da33a51075cc2bf27c9fe78861b (patch)
tree7d0ec12d01f224d09f0950e148231328866379c3 /malloc/memusage.c
parentc3ab42a82de7506c17749e78a171ce07ced95dd5 (diff)
downloadglibc-e2e390fad8271da33a51075cc2bf27c9fe78861b.tar
glibc-e2e390fad8271da33a51075cc2bf27c9fe78861b.tar.gz
glibc-e2e390fad8271da33a51075cc2bf27c9fe78861b.tar.bz2
glibc-e2e390fad8271da33a51075cc2bf27c9fe78861b.zip
* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.
(update_data): Fix handling of wrapping back
Diffstat (limited to 'malloc/memusage.c')
-rw-r--r--malloc/memusage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/memusage.c b/malloc/memusage.c
index 6c67a8c2e8..fcd58dc684 100644
--- a/malloc/memusage.c
+++ b/malloc/memusage.c
@@ -93,7 +93,7 @@ static __thread uintptr_t start_sp;
#define peak_stack peak_use[1]
#define peak_total peak_use[2]
-#define DEFAULT_BUFFER_SIZE 1024
+#define DEFAULT_BUFFER_SIZE 32768
static size_t buffer_size;
static int fd = -1;