Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp974482pxa; Wed, 5 Aug 2020 18:08:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdWF4qVP3NoqbYfecU9eqkaiaPsAhhE3fqrDMHO92C0wsDL1t6bGchPHopJBABaBeUT/NV X-Received: by 2002:aa7:c889:: with SMTP id p9mr1850411eds.105.1596676127521; Wed, 05 Aug 2020 18:08:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596676127; cv=none; d=google.com; s=arc-20160816; b=B36wLCaOjP0A6z954bHmg63ou11/DHdUSS3AXVbI0L0nodJY9QZRdI5R0kuqnGDUA7 r8kZdLvq1CUsh2s1G1gwLkrHXMXG0gaHM3zqEBmrhl2qCxHJ6/sA87ohz2Fq12c8EMEC 07Ss3Zf8vnF6U+DG3HjiIKEjld3VjkSgnM+Kzp8tkhzD5iYZQVsuAOgH0Tb/i3a4pIpV 4BZQXHeiOivFL2AWsnIPU2GmZoQrVJxdt6g7cRMh3HUQFv0p6I1PbIHkRDXNdlEQf3wx T50eohP1FSum9L1yW7ohcat+rE1wnGVbBTGWxUbdk5z1TO2kPN7YjOIbBiKYhXxZedZp Og7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=LkxSeINbwCCH9ty24BhSH/ImEcPheAOucERD1Y3zZ3w=; b=vt91nLFlCkSeH04ZRVCp3M6gxiUP2OvpmhffLGUo54IU6CV+Dqq85n2t3WB+xdQGef 2vDIjl6HAZ1MTcslvF+5fjPuYJ44LA8X+ync2CMbGkYopS5WI9Os9SwSs0t3Iu6dVOGn TyXUIutZ8LoTfkesbOPApudpxc6y3EDAyQ6vN3BFFhRW91/RAwLXiuW5rkom4xN1Ji22 +nSmkFfmE+u2YYhQcfg9ViBUx1k+mNaVkwfQPihHesmWbNNXkgK9wzkq3kSn6I2WxH/k uXk7dJdkVS/VsNmC9P6YF9aaDVSjyVhnPo4NQsmLHTtV10N4hycuV5ZTDFW6pLk7S8uA 8Xtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=VBRNosgb; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm21si2183178edb.111.2020.08.05.18.08.24; Wed, 05 Aug 2020 18:08:47 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=VBRNosgb; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726789AbgHFBFb (ORCPT + 99 others); Wed, 5 Aug 2020 21:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726762AbgHFBFR (ORCPT ); Wed, 5 Aug 2020 21:05:17 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D4FBC061575 for ; Wed, 5 Aug 2020 18:05:17 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id t23so32078664qto.3 for ; Wed, 05 Aug 2020 18:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=LkxSeINbwCCH9ty24BhSH/ImEcPheAOucERD1Y3zZ3w=; b=VBRNosgbiIFhAeYFW+zF6atgu23gJ71NtnUHecY4GaRXDaNVwIp9dVlg9XsI/m9zfo eskS+qS3ROoQt0JD7mDEedLyz1+tOwGm80hn9lqHPfrbf3gcjgIudJEJZFBUJCfM/cXq 1fn5XhZobnbevbK/4GEPEc17JZh2e2hn7l+hyj/74bziVWSKtMqGFG4UJa2o582wK9bv hXMySkB+Ezzv5G8PiET0fB52+Lu++wws10E7TuOwl4YT2ldKm4G/Jf1ldO5bw5SgCYBi A+W9g4WTwvQHbw3Qx9rJ49l5EFbLlzupLH+GESWMYU2+sJANuCXBNNrnXIrWIIoOMDoH aoEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:from :message-id; bh=LkxSeINbwCCH9ty24BhSH/ImEcPheAOucERD1Y3zZ3w=; b=nBPSUZHT5Lhz2CsWPFHNKlClWIgqQ/Ytk8hkbq9a0ftOMjUdoFxw4StsR4ch6GsH4C MXU50SfE3/MAiBJkLGKmpCsnyhrfjWySDv9ABmnnVImNtC9mOFq3zaWPpShtf7RrFAwD jzWMZs9cykh8HyZtZinqsjlDPR4Y1mLp4pHPULjMTsn28AOK2hGh5S9lzaaJKiPRaB7S 7/03VQ0iT2pcHEgjuWuQrm9GpBTtkT5qwMl85enVQ9GkEJMHPa8MN26ZMf+T3G4PEQCK y0TovgMQpO5uyi844EtRTrB3eGvPLbh9uIVeP6NLQtvPEBUqTUs9I/Wn+NZcCl5X0fVc jUvA== X-Gm-Message-State: AOAM531hn63SX8cekgTylA4+SNBKMTNhOUnz2sp1HLP6KZ1XTCIyXdEn wcshxOjMxzWLcCkztKyiX1CHRSNIMHk= X-Received: by 2002:ac8:6b04:: with SMTP id w4mr6698007qts.364.1596675916561; Wed, 05 Aug 2020 18:05:16 -0700 (PDT) Received: from RedmiNote8Pro-Redmi.localdomain ([179.97.37.151]) by smtp.gmail.com with ESMTPSA id q2sm3644777qtl.64.2020.08.05.18.05.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Aug 2020 18:05:16 -0700 (PDT) Date: Wed, 05 Aug 2020 22:05:03 -0300 User-Agent: K-9 Mail for Android In-Reply-To: <20200806001448.ln2u7qyc4fnuk5lh@mail.google.com> References: <20200718064826.9865-1-changbin.du@gmail.com> <20200718064826.9865-2-changbin.du@gmail.com> <20200804125115.GF3440834@kernel.org> <20200806001448.ln2u7qyc4fnuk5lh@mail.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v7 01/18] perf ftrace: select function/function_graph tracer automatically To: Changbin Du CC: Jiri Olsa , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Steven Rostedt , linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On August 5, 2020 9:14:48 PM GMT-03:00, Changbin Du wrote: >On Tue, Aug 04, 2020 at 09:51:15AM -0300, Arnaldo Carvalho de Melo >wrote: >> Em Sat, Jul 18, 2020 at 02:48:09PM +0800, Changbin Du escreveu: >> > The '-g/-G' options have already implied function_graph tracer >should be >> > used instead of function tracer=2E So the extra option '--tracer' can >be >> > killed=2E >> >=20 >> > This patch changes the behavior as below: >> > - By default, function tracer is used=2E >> > - If '-g' or '-G' option is on, then function_graph tracer is >used=2E >> > - The perf configuration item 'ftrace=2Etracer' is marked as >deprecated=2E >> > - The option '--tracer' is marked as deprecated=2E >>=20 >> You should try to be more granular, for instance, I think the >decision >> to change the default is questionable, but could be acceptable=2E >>=20 >> But why deprecate the perf configuration for the default tracer? >>=20 >> Say people who already use 'perf ftrace ls' go and use with this >patch >> and see that it changed the default from the function_graph tracer to >> the function tracer and disagree with you, they want the default to >be >> the function graph tracer, know that there is (or there was) a >> ftrace=2Etracer in ~/=2Eprefconfig, and then try that, only to find out >that >> it is not possible, frustrating :-\ >>=20 >> So can we please remove this deprecation of ftrace=2Etracer so that >people >> used to how it was can get that behaviour back? >>=20 >Agreed=2E If no -F or -G is given, we can use the ftrace=2Etracer as >default tracer=2E >Let me update it=2E Thanks=2E Thanks, I'm general try to be as granular as possible, doing one thing per= patch, this way the reviewer can do some preliminary cherry picking and we= also improve git bisectability=2E - Arnaldo --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E