Re: [PATCH] perf: do not flush maps on COMM for perf report

From: David Ahern
Date: Wed Aug 22 2012 - 12:56:13 EST


On 8/22/12 10:29 AM, Arnaldo Carvalho de Melo wrote:
Adding the EXEC event, ditto. And I agree that while adding it we want
to do 1/2 as pre-requisite.

maps should not be flushed on a COMM event, so that was a mistake. Given that what new information does an EXEC event provide? Same process id. A COMM event is generated on an exec, so the name change happens. Mappings are dropped prior to that - and there is no unmap event. That seems to be a missing piece. Maps are added which is handled by MMAP events. After that why is an exec event relevant?

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/