Re: [PATCH] perf: disable mmap2 support

From: David Ahern
Date: Wed Oct 09 2013 - 12:21:25 EST


On 10/9/13 10:17 AM, Stephane Eranian wrote:

This patch disables the mmap2 record format support
for now. The support needs a bit more work to cover
VM_CLONE cases.

The patch leaves attr->mmap2 defined, but returns
an error if it is set. That ensures no PERF_RECORD_MMAP2
record can be generated. Yet it minimizes the reverts in
the perf tool.

The userspace code generates MMAP2 events for synthesized mmap events. That should be reverted to MMAP until the format of MMAP2 events is finalized.

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/