summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_memory_debug.h
Commit message (Collapse)AuthorAgeFilesLines
* util: add debug_memory_check_block(), debug_memory_tag()Brian Paul2013-04-041-0/+6
| | | | | | | | | | The former just checks that the given block is valid by checking the header and footer. The later sets the memory block's tag. With extra debug code, we can use that for monitoring/checking particular allocations. Reviewed-by: José Fonseca <jfonseca@vmware.com>
* util: add more memory debugging featuresBrian Paul2012-11-281-0/+3
| | | | | | | | Add a DEBUG_FREED_MEMORY option to help catch use-after-free errors. Add debug_memory_check() function which can be periodically called to check that all known blocks are good. Reviewed-by: José Fonseca <jfonseca@vmware.com>
* os: New OS abstraction module.José Fonseca2010-02-031-0/+83