vc4: Tell valgrind about BO allocations from mmap time to destroy.

This helps in debugging memory pressure.  It would be nice if we could
tell valgrind about it all the way from allocation time to destroy, but we
need a pointer to hand to VALGRIND_MALLOCLIKE_BLOCK.
This commit is contained in:
Eric Anholt
2016-08-02 15:01:59 -07:00
parent fd32868590
commit e97e9e62a1
2 changed files with 11 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ AM_CFLAGS = \
$(VC4_CFLAGS) \
$(GALLIUM_DRIVER_CFLAGS) \
$(SIM_CFLAGS) \
$(VALGRIND_CFLAGS) \
$()
noinst_LTLIBRARIES = libvc4.la