From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932412AbcCXHjJ (ORCPT ); Thu, 24 Mar 2016 03:39:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:43034 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932345AbcCXHjC (ORCPT ); Thu, 24 Mar 2016 03:39:02 -0400 Date: Thu, 24 Mar 2016 00:38:12 -0700 From: tip-bot for Andi Kleen Message-ID: Cc: peterz@infradead.org, linux-kernel@vger.kernel.org, acme@redhat.com, mingo@kernel.org, ak@linux.intel.com, tglx@linutronix.de, hpa@zytor.com, jolsa@kernel.org Reply-To: jolsa@kernel.org, hpa@zytor.com, ak@linux.intel.com, tglx@linutronix.de, mingo@kernel.org, acme@redhat.com, linux-kernel@vger.kernel.org, peterz@infradead.org In-Reply-To: <1458575793-12091-2-git-send-email-andi@firstfloor.org> References: <1458575793-12091-2-git-send-email-andi@firstfloor.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf list: Fix documentation of :ppp Git-Commit-ID: 4ca0d8193f8b6b2c74d05d9bbcbaa99fdd553503 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 4ca0d8193f8b6b2c74d05d9bbcbaa99fdd553503 Gitweb: http://git.kernel.org/tip/4ca0d8193f8b6b2c74d05d9bbcbaa99fdd553503 Author: Andi Kleen AuthorDate: Mon, 21 Mar 2016 08:56:33 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Mar 2016 10:01:45 -0300 perf list: Fix documentation of :ppp Correctly document what is implemented for :ppp on Intel CPUs in recent kernels. Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1458575793-12091-2-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Documentation/perf-list.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/perf/Documentation/perf-list.txt b/tools/perf/Documentation/perf-list.txt index 79483f4..ec723d0 100644 --- a/tools/perf/Documentation/perf-list.txt +++ b/tools/perf/Documentation/perf-list.txt @@ -40,10 +40,12 @@ address should be. The 'p' modifier can be specified multiple times: 0 - SAMPLE_IP can have arbitrary skid 1 - SAMPLE_IP must have constant skid 2 - SAMPLE_IP requested to have 0 skid - 3 - SAMPLE_IP must have 0 skid + 3 - SAMPLE_IP must have 0 skid, or uses randomization to avoid + sample shadowing effects. For Intel systems precise event sampling is implemented with PEBS -which supports up to precise-level 2. +which supports up to precise-level 2, and precise level 3 for +some special cases On AMD systems it is implemented using IBS (up to precise-level 2). The precise modifier works with event types 0x76 (cpu-cycles, CPU