This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/208] New: mallinfo returns incomplete information
- From: "carlton at bactrian dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Jun 2004 18:29:39 -0000
- Subject: [Bug libc/208] New: mallinfo returns incomplete information
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
Judging from both the implementation and an experiment, mallinfo()
only returns information about the memory used in the current arena.
This doesn't seem to be mentioned anywhere in the info file or
in malloc.h, and I don't see how it's useful information, given that
arenas don't seem to be exposed in the user interface.
I am aware of malloc_stats(), but I don't always want the statistics
dumped to stderr. (Incidentally, malloc_stats() doesn't seem to be
mentioned in the info pages.)
--
Summary: mallinfo returns incomplete information
Product: glibc
Version: 2.2.5
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: carlton at bactrian dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=208
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.