haiku/headers
Michael Lotz 4af6cd5f38 Adding two debug features to the new heap implementation:
* Tracing of allocations, reallocations and frees
* Leak checking infrastructure to dump allocations

The leak checking code records the team and thread id when an allocation is
made as well as stores the originally requested size. It also adds the
"allocations" debugger command that can dump all current allocations (usually
a huge list) or filter by either a team or thread id. This way it's easily
possible to find leftover allocations of no more active teams/threads.
Combined with the tracing support one might be able to track down the time and
reason of an allocation and possibly find the corresponding leak if it is one.
Note that kernel heap leak checking has to be enabled manually by setting the
KERNEL_HEAP_LEAK_CHECK define to 1.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-12 20:20:35 +00:00
..
build * Added B_NOT_SUPPORTED, B_KERNEL_READ_AREA, and B_KERNEL_WRITE_AREA to 2008-02-02 12:18:55 +00:00
compatibility/bsd * Added BSD specific errno.h for EDOOFUS (yeah, I know, great error code...) 2008-02-03 16:20:16 +00:00
cpp GCC 4 fix. 2005-12-11 16:22:51 +00:00
glibc Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00
gnu
legacy/network setsockopt and getsockopt use int as others functions 2006-06-23 14:19:11 +00:00
libs Added libalm.so and its dependency liblinprog.so. libalm.so provides a 2008-02-06 10:51:44 +00:00
os declared entry_ref 2008-02-08 21:37:25 +00:00
posix * Added gcvt() implementation - this fixes bug #1757. 2008-02-06 17:11:02 +00:00
private Adding two debug features to the new heap implementation: 2008-02-12 20:20:35 +00:00
tools