Add previous tasks and maps in the memprof dump