Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp508947pxb; Wed, 11 Nov 2020 09:04:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJweBomZTapmqDd778YFlvZswpLaiDJEHQSD5s7TTKWHv8cClpGSGlwrA5JSvdDHPdBzW78b X-Received: by 2002:a17:906:b043:: with SMTP id bj3mr25375289ejb.338.1605114241051; Wed, 11 Nov 2020 09:04:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605114241; cv=none; d=google.com; s=arc-20160816; b=CekUpELuiESgmJXN0FryHhea1KX86m1SaIk62muRpPHEv5HFx7zIPnmUV7k5vcBcSG vQAtyAYISvE/IppBmXj12HxCaRthqz8GzOe3EemuldHaz52PPOB0zRHLxHaXFoMyfnPg xoPi/YB/vtyyWAUT0MnHzkWcQ+wtNR40Jv30Pc90Onpyh232BIxMWfMv0GdBlU0VvzMD EW0qtBzWN1zFGmROT2BAjFp43DAakPlCK7LzUWZBd41EVO0gsRsT4f2s0mMsWJCmXjS7 TyoI8RiWZ/I4IMx719iMAJRk9d+FSoRh9QLFI7vOfolIP6aurQYVRtvVUWkICMXbyOGs YFng== 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:ironport-sdr :ironport-sdr; bh=qjgwQNQY3wBKmR9oXGXKHpWDx56hdAVfvUQfat/wAAA=; b=wnDcBKAHSS5yPsgywerHoyJefr3vwQAXnzNi7J5Cza5N1Ko87SrZotFevCcUVglUtZ SJwRpeoT4YXo/n+lI86Rg1OGqnic44E8o9wQHIQBmSH2qy7qiyELves6ef2L0e4F3bfZ bJI1HGIlgC8furMZuOOsOoI8PO95iLIiaqbohBTjmmLZXgBbtY1GdZtnw0c5ob227iui W07AP912VaTgvyF3GDC+rnHA1z+uzngJw48RHC0HpGvC72ornRzJnrJu9sgrhoFXWN6B jo8V8ecHgHCLxLGJrKDvMuYtyLnzHyXPJa03pTgrKKpZa+Yx6fh8CiNCyq4qY5J4lIAc Qlgw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si1749522eje.29.2020.11.11.09.03.31; Wed, 11 Nov 2020 09:04:01 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726920AbgKKRBf (ORCPT + 99 others); Wed, 11 Nov 2020 12:01:35 -0500 Received: from mga14.intel.com ([192.55.52.115]:11035 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgKKRBd (ORCPT ); Wed, 11 Nov 2020 12:01:33 -0500 IronPort-SDR: oGePMO0PuUmBtzFQAc5t6/qrzcfn83uPYfK11SCdR7/zndcntNHI/22fWt15zdB45b/SRFePBV FntH/4bhxIBw== X-IronPort-AV: E=McAfee;i="6000,8403,9802"; a="169393419" X-IronPort-AV: E=Sophos;i="5.77,470,1596524400"; d="scan'208";a="169393419" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 09:00:49 -0800 IronPort-SDR: b2AZ/erPk+w6/U+0ava8raATh6xzlxM1plaWf+6YSQQVvjiT3jco99LcGPrh2OfDJ8buLQckrn aUNcT3yBXptA== X-IronPort-AV: E=Sophos;i="5.77,470,1596524400"; d="scan'208";a="354898270" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 09:00:48 -0800 Date: Wed, 11 Nov 2020 09:00:46 -0800 From: Andi Kleen To: Jiri Olsa Cc: 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: <20201111170046.GB466880@tassilo.jf.intel.com> References: <20201109215415.400153-1-jolsa@kernel.org> <20201109215415.400153-25-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201109215415.400153-25-jolsa@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -Andi