profile log with a pid. remove unecessary memory information