diff options
author | Robert Ellison <papillo@vmware.com> | 2009-05-08 14:51:11 -0600 |
---|---|---|
committer | Robert Ellison <papillo@vmware.com> | 2009-05-08 16:57:08 -0600 |
commit | 1d112207716774b32c0cc846304c2c50bf40e812 (patch) | |
tree | 9946cc3009f605546109b9c3b7ea8f2d37d275e4 /src/gallium/SConscript | |
parent | fc6d89145df6fc7a1c2ce648b474c3f203ca87c7 (diff) |
i965: improve debug logging
Looking for memory leaks that were causing crashes in my environment
in a situation where valgrind would not work, I ended up improving
the i965 debug traces so I could better see where the memory was
being allocated and where it was going, in the regions and miptrees
code, and in the state caches. These traces were specific enough
that external scripts could determine what elements were not being
released, and where the memory leaks were.
I also ended up creating my own backtrace code in intel_regions.c,
to determine exactly where regions were being allocated and for what,
since valgrind wasn't working. Because it was useful, I left it in,
but disabled and compiled out. It can be activated by changing a flag
at the top of the file.
Diffstat (limited to 'src/gallium/SConscript')
0 files changed, 0 insertions, 0 deletions