From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by ozlabs.org (Postfix) with ESMTP id 5B8122C0087 for ; Wed, 23 Jan 2013 04:11:06 +1100 (EST) Date: Tue, 22 Jan 2013 18:10:13 +0100 From: Jiri Olsa To: Sukadev Bhattiprolu Subject: Re: [PATCH 6/6][v3] perf: Document the ABI of perf sysfs entries Message-ID: <20130122171013.GM1037@krava.brq.redhat.com> References: <20130110010347.GA32590@us.ibm.com> <20130110010703.GF32590@us.ibm.com> <20130115185759.GG5826@ghostprotocols.net> <20130116113013.GA1042@krava.brq.redhat.com> <20130116185815.GA3351@us.ibm.com> <20130117141145.GA3817@krava.brq.redhat.com> <20130118174654.GA12575@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20130118174654.GA12575@us.ibm.com> Cc: Andi Kleen , Peter Zijlstra , robert.richter@amd.com, Greg KH , Anton Blanchard , linux-kernel@vger.kernel.org, Stephane Eranian , linuxppc-dev@ozlabs.org, Ingo Molnar , Paul Mackerras , Arnaldo Carvalho de Melo List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jan 18, 2013 at 09:46:54AM -0800, Sukadev Bhattiprolu wrote: > Jiri Olsa [jolsa@redhat.com] wrote: SNIP > + > +Contact: Linux kernel mailing list > + Linux Powerpc mailing list > + > +Description: POWER-systems specific performance monitoring events > + > + A collection of performance monitoring events that may be > + supported by the POWER CPU. These events can be monitored > + using the 'perf(1)' tool. > + > + These events may not be supported by other CPUs. > + > + The contents of each file would look like: > + > + event=0xNNNN > + > + where 'N' is a hex digit and the number '0xNNNN' shows the > + "raw code" for the perf event identified by the file's > + "basename". > + > + Further, multiple terms like 'event=0xNNNN' can be specified > + and separated with comma. All available terms are defined in > + the /sys/bus/event_source/devices//format file. Acked-by: Jiri Olsa thanks, jirka