Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp768196pxk; Thu, 3 Sep 2020 12:04:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2KiyboHTNiaPZScv5+27ArawuimY+sNNmVCxM8pubxaQBwW5DPj0Qv3k+ebh/BxYNe7Ks X-Received: by 2002:a50:bb65:: with SMTP id y92mr4650553ede.53.1599159860508; Thu, 03 Sep 2020 12:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599159860; cv=none; d=google.com; s=arc-20160816; b=Nw6123N3jx/Qcg4/gk6tsOqCAe+Bu1zxNitR1CrGFNjPWaMzTrbiY/1ym68ZnPhhCX Uy4v94euhR/6p8xbNONTpbiriQon5zivwRrecO2nqHga6a4fm3Py5oNuRPgah1KnwXJR 9P+LwIzpxWwE8yKh8+mDB5+B5CxjOvGDdGvLQArU2QBmQ9WboisyvuqwUJf+Apn7/VOx qyC/2oKQdtQIZx1Tko3QqAkMs8G8Ca9m+f7hYLvfLuCiYYDSm3ojozXG6C1bBZgksn5u vIqSsriPMNzPQP5l/Ae0RkV2MfARoChBqCFbCGZWG+B46B7pyZC+EBOG+KYUxv+1NvsI CTIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Nbadc812qF/mryyAYrXt2AvsP145bAQ63FNPAYiFSCA=; b=YFe8E+53LXNVaU04kYFXc7DWp7Xn5KRFiBfXS7BLXL2ueUPwxRVN/UkFIPk6MeSLiY 7y+4XyR96ENHpx77T5wH51NDDDopZFvml7lYqbYEaymak90TxWoH9wVBz5mLl1BLx3Fk DMbs54v+Z6G5tPk6daHm1QOpp55fAzs4Yw+P1u6cC87WAp4uBtNwCtqWA5cq0GDxVb3n /Ar9yme+tAqcKmFIV5ML/VM8/dCUHtQZmLSCRqBCMQQY+pklVOAFeQi/C8rFw4lVfszX Y1DPFg84eXXGafO4kgdTTCMnmb1xKJ9Iu2CFg9WBo8QNs0MIFzUZv7Mp3jx6C92WQxg+ V6lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=t39wwSvX; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x15si2398569eje.180.2020.09.03.12.03.52; Thu, 03 Sep 2020 12:04:20 -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=pass header.i=@kernel.org header.s=default header.b=t39wwSvX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728852AbgICTBI (ORCPT + 99 others); Thu, 3 Sep 2020 15:01:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:58630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbgICTBE (ORCPT ); Thu, 3 Sep 2020 15:01:04 -0400 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7F26F20658; Thu, 3 Sep 2020 19:01:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599159663; bh=4O6wT3KPGrg/7msyepJfuWPtvetcJ8fPChc5bMkiIrA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t39wwSvXzeRu5vDYWQGxEtsdGalBK7iodUh85dwnnMd3ptYEDGhQJIoURNHoE8Bg7 pTgZF3w9f2sCIqisgmil4hHmRZMoXAQnAWZwtkA60wVUY34YKpRFp6zM4jpUBrgiQ3 zWLB6Lp8QczXH2Rn4LYdQoMIi/gykFg+lDQjt7Qk= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 5DF3540D3D; Thu, 3 Sep 2020 16:01:01 -0300 (-03) Date: Thu, 3 Sep 2020 16:01:01 -0300 From: Arnaldo Carvalho de Melo To: Kim Phillips Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Stephane Eranian , Alexey Budankov , Tony Jones , Jin Yao , Ian Rogers , "Paul A. Clarke" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] perf record/stat: Explicitly call out event modifiers in the documentation Message-ID: <20200903190101.GH3495158@kernel.org> References: <20200901215853.276234-1-kim.phillips@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200901215853.276234-1-kim.phillips@amd.com> X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Sep 01, 2020 at 04:58:53PM -0500, Kim Phillips escreveu: > Event modifiers are not mentioned in the perf record or perf stat > manpages. Add them to orient new users more effectively by pointing > them to the perf list manpage for details. Thanks, applied. - Arnaldo > Signed-off-by: Kim Phillips > Fixes: 2055fdaf8703 ("perf list: Document precise event sampling for AMD IBS") > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Arnaldo Carvalho de Melo > Cc: Mark Rutland > Cc: Alexander Shishkin > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Adrian Hunter > Cc: Stephane Eranian > Cc: Alexey Budankov > Cc: Tony Jones > Cc: Jin Yao > Cc: Ian Rogers > Cc: "Paul A. Clarke" > Cc: linux-perf-users@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: stable@vger.kernel.org > --- > tools/perf/Documentation/perf-record.txt | 4 ++++ > tools/perf/Documentation/perf-stat.txt | 4 ++++ > 2 files changed, 8 insertions(+) > > diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt > index 3f72d8e261f3..bd50cdff08a8 100644 > --- a/tools/perf/Documentation/perf-record.txt > +++ b/tools/perf/Documentation/perf-record.txt > @@ -33,6 +33,10 @@ OPTIONS > - a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a > hexadecimal event descriptor. > > + - a symbolic or raw PMU event followed by an optional colon > + and a list of event modifiers, e.g., cpu-cycles:p. See the > + linkperf:perf-list[1] man page for details on event modifiers. > + > - a symbolically formed PMU event like 'pmu/param1=0x3,param2/' where > 'param1', 'param2', etc are defined as formats for the PMU in > /sys/bus/event_source/devices//format/*. > diff --git a/tools/perf/Documentation/perf-stat.txt b/tools/perf/Documentation/perf-stat.txt > index c9bfefc051fb..a4b1d11fefc8 100644 > --- a/tools/perf/Documentation/perf-stat.txt > +++ b/tools/perf/Documentation/perf-stat.txt > @@ -39,6 +39,10 @@ report:: > - a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a > hexadecimal event descriptor. > > + - a symbolic or raw PMU event followed by an optional colon > + and a list of event modifiers, e.g., cpu-cycles:p. See the > + linkperf:perf-list[1] man page for details on event modifiers. > + > - a symbolically formed event like 'pmu/param1=0x3,param2/' where > param1 and param2 are defined as formats for the PMU in > /sys/bus/event_source/devices//format/* > -- > 2.27.0 > -- - Arnaldo