Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1010935imm; Fri, 28 Sep 2018 10:20:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV63ImAExOviMKZVUeFAk3aPd4o63zabRjmUvLiXl36rEfhqYpZRoityjeC9a7C2E33q7hiMl X-Received: by 2002:a17:902:8c84:: with SMTP id t4-v6mr14817648plo.188.1538155223441; Fri, 28 Sep 2018 10:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538155223; cv=none; d=google.com; s=arc-20160816; b=vnYEturuAlUUllahTr1gJKXWkzZK79gjG0cN/S/+Rd7Jx0wFZ5Y1PqHafIt3wd2K84 aUBs5JaGAoWOYo3B75fh0KyI1cvQkis8HXUKPrAzJW6iQrBausc8vUtptNiEjRSBiZ+C HPBFfhTdBO+pJcUBbhwub3aeRNx23nLtRXuQjbKJ+dP009QNsglYHTp+H38POk9U6dpj YtWEnQB+40E8nHaFzpeXMEXZCNCNI4e20BfdutLuNFYOUHAkQ/QfulQSn+d5Kcn3l0Kx gAAcLGLObJsbkUZAnVwP2qvOzzFR3M0A28qt14RTx6vIcGNgw6CzLg6IGRrOpXBcGJQk 68aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=44LOFKD3SFRwAWlx2iEBTGhoQw8NMNaPDaYExX2eFD4=; b=ENWoVH9ojFGaqzxZ2PpOssee3wJyLHgG15kWRo3X4ApKacmu5Jl9cNzOdcGwXSbpXi jELeWwHl9Is8bvqluCkpV3ZWVA4ZVjFYlh8M6BO0X99eCci7ql2IQ9i8jkYpixG3Ck5+ T4ACZNtI0wFcRClv8UlSibDNhyK9eZq/l1Q2Y20nzyTCTYbEmsaaFknPWOhTbrPK8gzs Dv+CrPYZi1EpYf6Sl0Majy2+aVw+VU14BYv6S9dspR75tZB/plVMb604ArkWPID4qF9y 16C21/mziwWKUB991FTgTF6BHGYXYOA2G8+YrYkziFdqzJtiAPzRZM9nOq9UNnL+AQf6 4mlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@firstfloor.org header.s=mail header.b=r99slEnc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m14-v6si5286479pgc.368.2018.09.28.10.20.07; Fri, 28 Sep 2018 10:20:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@firstfloor.org header.s=mail header.b=r99slEnc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729297AbeI1Xoa (ORCPT + 99 others); Fri, 28 Sep 2018 19:44:30 -0400 Received: from one.firstfloor.org ([193.170.194.197]:50606 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbeI1Xoa (ORCPT ); Fri, 28 Sep 2018 19:44:30 -0400 Received: by one.firstfloor.org (Postfix, from userid 503) id BCBFB873AF; Fri, 28 Sep 2018 19:19:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=firstfloor.org; s=mail; t=1538155184; bh=AN80b524CLLm2NxKqeXIscs5HVD+r5eIFVprc9a9Jqg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r99slEncG9p+vduK51FOFHiyTzvoDss5cprCM3cQXHaJkTSlsiekO8/0fxHK0tsir 7m987mdRh6Se0vISI/m4sHeTwoG/7zEpZmiEsQ+gfnNQrN9ynb/t05VgproS6aNXqV nIQwu2wxaEEgHxt/kE+t5rBaUs9j8nW1k1t5jvso= Date: Fri, 28 Sep 2018 10:19:44 -0700 From: Andi Kleen To: leo.yan@linaro.org Cc: Andi Kleen , acme@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen , Mathieu Poirier Subject: Re: [PATCH v6 3/5] tools, perf, script: Add --call-trace and --call-ret-trace Message-ID: <20180928171944.sdejhgyqka4p3kc3@two.firstfloor.org> References: <20180920180540.14039-1-andi@firstfloor.org> <20180920180540.14039-4-andi@firstfloor.org> <20180928102331.GA15533@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180928102331.GA15533@leoy-ThinkPad-X240s> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Seems to me, these two features are _NOT_ only benefit for intel_pt, > other hardware tracing (e.g. Arm CoreSight) can enable these features > as well. This patch is to document only for intel_pt, later if we > enable this feature on Arm platform we need to change the doc; > alternatively we can use more general description for these two options > at the first place. How about you think for this? Likely it already works for CoreSight I specified intel_pt, because if we just say traces the users won't know what PMU to specify for record. Being too abstract is often not helpful. If someone successfully tests it on CoreSight they could submit a patch to the documentation to add "or " to these two cases. That would make it then clear for those users too. -Andi