Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp289003pxb; Thu, 12 Nov 2020 04:02:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGlBep1VCowl7kGTHI5tOxSSX/cqzL6oFk7bSnHhLEzbLkI4YBsIsyyzFrU/QWTuZQzxSG X-Received: by 2002:a05:6402:1b19:: with SMTP id by25mr4771558edb.108.1605182547216; Thu, 12 Nov 2020 04:02:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605182547; cv=none; d=google.com; s=arc-20160816; b=c05NhehTlW4leL2hxB3rNdbl+im/7UM/wOAy5zGvNCrwuraMIthEH9hlDuVHjcm0Gm rXBU7nh+KQFx8N3OODnbeFHF8YWIojGMhOOCzwCYI4nrC+U3Zt+0NBj3c75jIG+rtz4X uA+eDeIpbcRrN8fz9l74oqdmJYmOeqtb8jtG/Ykx3lInr016ebBdgM1cDVPW//Vdlsxe fN+ZQiHPTUgZkJPm90lRc1yYXIabQeix5xJpnn4cPckN1CXUwygV8s3WDMpaqrCGwQ1R BRjNKGJmqt84jGiWKN5o2TZPmJqSG2PptkSkRvwhCyDquxqbn4SsYn6kG9kyU25YNAip dndA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=83w/1Q8eKBY/M3hgJMXofHi6YmZoj03v//KCkf2z5gI=; b=TlBb8hNw1fVEiPJ2MvUXpB+TcgrzTmSlW0X32nIW70n1aOdLrPu/NRg4vqcfiYqxEf 8RNRkzI5uGzBJLBtqweb8PvaqC/ugSCqdFeyYesg6vSqoNgKARZoWe5ACQMngIPPjWFu eEiixLIIlIwyw2GsiZwKhL1+4POQ+wn7haG0r7cdhq8OrPnuazVFmYRCKJJxVe+wWvD6 pXSZmhhe/8/G1strrYmCedbDysnRXaOXVVE4kDsjWvce0441DycJb3NYgn/zgtoZ0v5g a6xphgpUcVnAgFf2alcer3BNp1j/AVr6L6BPj0HUNUtVEsdAPI5pGUuHAYHoPx6F+tRr 93OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="bAp/0zCo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si4207211edt.425.2020.11.12.04.02.02; Thu, 12 Nov 2020 04:02:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="bAp/0zCo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbgKLL51 (ORCPT + 99 others); Thu, 12 Nov 2020 06:57:27 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:57007 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728158AbgKLL5W (ORCPT ); Thu, 12 Nov 2020 06:57:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605182241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=83w/1Q8eKBY/M3hgJMXofHi6YmZoj03v//KCkf2z5gI=; b=bAp/0zCo8zohCsdR69CVJTUC2Jl3daLDQwhLk45NjN+10+8YS9DsuazRT87g96l6zKrJdL bHJz5rbfKYO9ZsUFIqrrVA6NLE+0ktu3ohmM6uNTEMguGqJYmxRKUAbU1S16W+2jtRFee8 63OpSOAutirMLpklQxiYIUqlNd5oq9I= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-403-D9yiioqgMCubAdQjgcyeqw-1; Thu, 12 Nov 2020 06:57:17 -0500 X-MC-Unique: D9yiioqgMCubAdQjgcyeqw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 14D28803F60; Thu, 12 Nov 2020 11:57:15 +0000 (UTC) Received: from krava (unknown [10.40.194.120]) by smtp.corp.redhat.com (Postfix) with SMTP id 56ED05B4B9; Thu, 12 Nov 2020 11:57:11 +0000 (UTC) Date: Thu, 12 Nov 2020 12:57:10 +0100 From: Jiri Olsa To: Andi Kleen Cc: Jiri Olsa , Arnaldo Carvalho de Melo , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Michael Petlan , Song Liu , Ian Rogers , Stephane Eranian , Alexey Budankov , Adrian Hunter Subject: Re: [PATCH 24/24] perf record: Add --buildid-mmap option to enable mmap's build id Message-ID: <20201112115710.GE619201@krava> References: <20201109215415.400153-1-jolsa@kernel.org> <20201109215415.400153-25-jolsa@kernel.org> <20201111170046.GB466880@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201111170046.GB466880@tassilo.jf.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 09:00:46AM -0800, Andi Kleen wrote: > On Mon, Nov 09, 2020 at 10:54:15PM +0100, Jiri Olsa wrote: > > Adding --buildid-mmap option to enable build id in mmap2 events. > > It will only work if there's kernel support for that and it disables > > build id cache (implies --no-buildid). > > What's the point of the option? Why not enable it by default > if the kernel supports it? > > With the option most user won't get the benefit. > > The only reason I can think of for an option would be to disable > so that old tools can still process. yes, that was request in the rfc post, we want the new default perf.data be still readable by older perf tools jirka