On Sat, Dec 8, 2012 at 4:17 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> I was thinking of just marking the first memory allocation for each > object, like the PetscNew(struct tp,&(h) with a bool (another record in > TRSPACE), then -malloc_dump_objects would be just like -malloc_dump except > only dump memory with that mark and hence one dump for each object. Nothing > fancy but get's the job done. Could have PetscNewMark() used for this > purpose. So just mark it with a Bool rather than the classid. That's fine, but the extensible malloc interfaces need to be extended to support the extra routine. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121208/ee4842fb/attachment.html>
