Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752480Ab3JIQYl (ORCPT ); Wed, 9 Oct 2013 12:24:41 -0400 Received: from mail-qc0-f180.google.com ([209.85.216.180]:45676 "EHLO mail-qc0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751831Ab3JIQYk (ORCPT ); Wed, 9 Oct 2013 12:24:40 -0400 MIME-Version: 1.0 In-Reply-To: <52558278.6080206@gmail.com> References: <20131009161743.GA3022@quad> <52558278.6080206@gmail.com> Date: Wed, 9 Oct 2013 18:24:39 +0200 Message-ID: Subject: Re: [PATCH] perf: disable mmap2 support From: Stephane Eranian To: David Ahern Cc: LKML , "mingo@elte.hu" , Peter Zijlstra , Arnaldo Carvalho de Melo , "ak@linux.intel.com" , Jiri Olsa , Hugh Dickins , Kees Cook , Andrew Morton Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 26 On Wed, Oct 9, 2013 at 6:21 PM, David Ahern wrote: > 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. > Ah, yes, that is correct. I forgot about that ;-( Let me send a revised patch then that covers both. > David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/