Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753302AbbGNOG2 (ORCPT ); Tue, 14 Jul 2015 10:06:28 -0400 Received: from mail.kernel.org ([198.145.29.136]:39362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753274AbbGNOGW (ORCPT ); Tue, 14 Jul 2015 10:06:22 -0400 Date: Tue, 14 Jul 2015 11:05:15 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: kan.liang@intel.com, jolsa@kernel.org, namhyung@kernel.org, ak@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC V3 2/5] perf/documentation: Add description for period Message-ID: <20150714140515.GI2885@kernel.org> References: <1436345097-11113-1-git-send-email-kan.liang@intel.com> <1436345097-11113-3-git-send-email-kan.liang@intel.com> <20150714065518.GH22977@krava.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150714065518.GH22977@krava.local> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2111 Lines: 54 Em Tue, Jul 14, 2015 at 08:55:18AM +0200, Jiri Olsa escreveu: > On Wed, Jul 08, 2015 at 04:44:54AM -0400, kan.liang@intel.com wrote: > > From: Kan Liang > > > > 'period' param is not defined in > > /sys/bus/event_sources/devices//format/* > > > > Signed-off-by: Kan Liang > > --- > > tools/perf/Documentation/perf-record.txt | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt > > index 9b9d9d0..5b47b2c 100644 > > --- a/tools/perf/Documentation/perf-record.txt > > +++ b/tools/perf/Documentation/perf-record.txt > > @@ -45,6 +45,14 @@ OPTIONS > > param1 and param2 are defined as formats for the PMU in: > > /sys/bus/event_sources/devices//format/* > > > > + There are also some params which are not defined in ...//format/*. > > + These params can be used to set event defaults. > > + Here is a list of the params. > > + - 'period': Set event sampling period > > Acked-by: Jiri Olsa Thanks, applied. > while at it, could you please add doc also for 'name'? > > thanks, > jirka > > > + > > + Note: If user explicitly sets options which conflict with the params, > > + the value set by the params will be overridden. > > + > > - a hardware breakpoint event in the form of '\mem:addr[/len][:access]' > > where addr is the address in memory you want to break in. > > Access is the memory access type (read, write, execute) it can > > -- > > 1.8.3.1 > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/