commit 5ff39dbe4898de660a02cbc365de2ca74344a4fa
parent fd2706c231aea0dbe6092de77ab123e47ce22849
Author: sin <sin@2f30.org>
Date: Sun, 4 Aug 2013 22:27:58 +0100
Strip debug output
Diffstat:
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/lemoncake.c b/lemoncake.c
@@ -417,24 +417,24 @@ dumpstats(void)
return;
writelog(fd, "*** Lemoncake stats [process: %s pid: %lu] ***\n",
getenv("_") ? getenv("_") : "<unknown>", (unsigned long)getpid());
- writelog(fd, "Number of sbrk calls: %lu\n", st.nr_sbrk);
- writelog(fd, "Number of mmap calls: %lu\n", st.nr_mmap);
- writelog(fd, "Number of malloc calls: %lu\n", st.nr_malloc);
- writelog(fd, "Number of realloc calls: %lu\n", st.nr_realloc);
- writelog(fd, "Number of shrinked realloc calls (no memcpy() required): %lu\n",
+ writelog(fd, "sbrk calls: %lu\n", st.nr_sbrk);
+ writelog(fd, "mmap calls: %lu\n", st.nr_mmap);
+ writelog(fd, "malloc calls: %lu\n", st.nr_malloc);
+ writelog(fd, "realloc calls: %lu\n", st.nr_realloc);
+ writelog(fd, "shrinked realloc calls (no memcpy() required): %lu\n",
st.nr_shrink_realloc);
- writelog(fd, "Number of free calls: %lu\n", st.nr_free);
- writelog(fd, "Number of new allocations: %lu\n", st.nr_alloc_new);
- writelog(fd, "Number of allocations from the free tree: %lu\n",
+ writelog(fd, "free calls: %lu\n", st.nr_free);
+ writelog(fd, "new allocations: %lu\n", st.nr_alloc_new);
+ writelog(fd, "allocations from the free tree: %lu\n",
st.nr_alloc_free);
- writelog(fd, "Number of invalid free calls: %lu\n", st.nr_invalid_free);
+ writelog(fd, "invalid free calls: %lu\n", st.nr_invalid_free);
RB_FOREACH(n, alloc_tree, &at)
st.nr_at_nodes++;
RB_FOREACH(n, free_tree, &ft)
st.nr_ft_nodes++;
- writelog(fd, "Number of nodes in the allocation tree: %lu\n",
+ writelog(fd, "nodes in the allocation tree: %lu\n",
st.nr_at_nodes);
- writelog(fd, "Number of nodes in the free tree: %lu\n",
+ writelog(fd, "nodes in the free tree: %lu\n",
st.nr_ft_nodes);
close(fd);
}