#include "petscsys.h" PetscErrorCode PetscMallocTraceSet(PetscViewer viewer, PetscBool active, PetscLogDouble logmin)Not Collective
| viewer | - The viewer to use for tracing, or NULL to use stdout | |
| active | - Flag to activate or deactivate tracing | |
| logmin | - The smallest memory size that will be logged |