From 40672b0b78207f3b624bd20772b24865d208f215 Mon Sep 17 00:00:00 2001 From: David Goldblatt Date: Fri, 12 Jun 2020 20:12:15 -0700 Subject: [PATCH] Remove duplicate logging in malloc. --- src/jemalloc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jemalloc.c b/src/jemalloc.c index bb1b38cb..f18fa61b 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -2437,7 +2437,11 @@ malloc_default(size_t size) { static_opts_t sopts; dynamic_opts_t dopts; - LOG("core.malloc.entry", "size: %zu", size); + /* + * This variant has logging hook on exit but not on entry. It's callled + * only by je_malloc, below, which emits the entry one for us (and, if + * it calls us, does so only via tail call). + */ static_opts_init(&sopts); dynamic_opts_init(&dopts);