If enabled, store the stack trace of each object's mem_cache_alloc (if in-use) or mem_cache_free (if freed).