Received: by 10.223.164.202 with SMTP id h10csp422351wrb; Wed, 8 Nov 2017 19:43:20 -0800 (PST) X-Google-Smtp-Source: ABhQp+S+0acemEqVJ+cssS9Is+ungUGHtEYETUY145FDjj0kE+fsT5pvNTXBBBDW9TyZQbWGxdp9 X-Received: by 10.101.65.200 with SMTP id b8mr2568392pgq.274.1510199000393; Wed, 08 Nov 2017 19:43:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510199000; cv=none; d=google.com; s=arc-20160816; b=yec590At2WKLkHizTA50LQjuS8q83dVPj14vAdqZTZjl42MyrgokBLEInfHW62PMB9 fkEb/twc2i0BHEmF3JDj0CynjverLuFYhDxHmatbpTqfzDmrt2Tz9fEACayH3SvBoeQm B5OhU0hEWJ5NkGjwGGv6xRsCy/baSWDAlSFPHuZMOezLCIJzsqG7gIJWfhJxgjd7WcgI DHmEdym73nlh/eqfMg3LRp9NQ7c6Uy47w5ajYT/EMQgGcLzsNSUGGZ1+rdFEFpMObm+N PZT8jI2ULaWuGj0fMSGrxSkwNLY/uLbPQ4ZL0T+tPC5Gfg5eNyN8Soyo65J7UPvVxNXg 5q2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=6jEo6HVc3HwdfIt8J0pVLQRsvrGYXZF00BGK4VT9e20=; b=RmDiwBhfM/+OT6ykAHdKCfolRmcIn7wMOsB0xJEIbhLP1GMDDoZUj52at2WpfuCuQQ ftevf0zFNe4ojLaz2ZerPWW44t1xr8H+N6YrXTK4IhA5w5S4ZauLDFO1yCpfogf4w8Dr oiQpozO7HeRurphR/jmxM8LeNH7mPyu3F/amzMQBt2aloq1ncZn/NBbRD/G2ZCocMc3C mrH9IhDzOMfv2sluu/bYlZOYcFHOQG24EJsWJ74l3Dmg/LtWUuuVWQQjFR+bWwIgAa41 TtvyWNqEiRMgq/5mivFwq+3NJ0Lt5/M1dzyF+F8a+BtQHBfF3H7nSR8Fx4Nhkz/3hd4e fMsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=lnqqZEMl; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a15si5313596pll.79.2017.11.08.19.43.09; Wed, 08 Nov 2017 19:43:20 -0800 (PST) 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=@google.com header.s=20161025 header.b=lnqqZEMl; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751944AbdKIDmb (ORCPT + 82 others); Wed, 8 Nov 2017 22:42:31 -0500 Received: from mail-io0-f171.google.com ([209.85.223.171]:49851 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbdKIDm3 (ORCPT ); Wed, 8 Nov 2017 22:42:29 -0500 Received: by mail-io0-f171.google.com with SMTP id n137so8317337iod.6 for ; Wed, 08 Nov 2017 19:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6jEo6HVc3HwdfIt8J0pVLQRsvrGYXZF00BGK4VT9e20=; b=lnqqZEMl76pEk3lQMQa3fcUAGx2Jk9vgc02jxErEcpvx/pVNa2F4oaf4xN725V60WT MOXqRyTbeaGJiT0RdVICpnov3W0PzmxontDuppUtKg0kLuhTLS3rC7OmJrrIHgIBFvcb h6Za3J0zVdVJAxFkOBG4ziM2YCQVuKKtfAt0ViLIExCvjMRJJ+9vvNEgv1YpAkgyoMBx sxcU9LJ7CW9M9yoLpavBYKJ+X2vFQA0J9Ww7ypklqToPohWC/ulC3wtP0SKrPHTzZ8kl K4q2HpcTetVEA7lqOYSK1x0clwKlNlK0Tb9DShexdWz8snzrGIuBsFbeiqM9bqE2pXUo ozlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6jEo6HVc3HwdfIt8J0pVLQRsvrGYXZF00BGK4VT9e20=; b=BMcHsVz4yNOkLak425R+vzaJKDRAWvALa3YecfpBS7RVePUMSXJvdAc2Xt/twr4uTn mZ2eCQ0glmFh10JEB4wZxgwlrbH9Z3k6Hbp0tqBws4lL546DkFdofGrEJ/e/c3i8Un4s HtS4X71AJv7XvZxswkwDvtYjNj6xGV/eNYTnyJg6lIbxn49O0cEOl17T5Uwk0K47vagO cStodb63xY96ixhI706TW4bSta0lLHB++8cXaIstaxWUHad1+DeqXFB8JLP9x8y8TVdJ x9Sm4ZJmcYqJCVmoYwUPAxIMHmjy2/duC70Apfd8cDPVemI501y/czn2BhURS+jR95F+ Fg5A== X-Gm-Message-State: AJaThX4KXQo8iRPWDpu0o4TUwhikIcInAuFNMIbBOHfJDUhjxSOhkUSC V7aysqJubxLPPODeW/WLUCTIUROhrBn2SLyXiqM/8A== X-Received: by 10.107.173.72 with SMTP id w69mr3508570ioe.154.1510198949063; Wed, 08 Nov 2017 19:42:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.229 with HTTP; Wed, 8 Nov 2017 19:42:28 -0800 (PST) In-Reply-To: <20171108205643.GB8522@tassilo.jf.intel.com> References: <1510127797-22483-1-git-send-email-eranian@google.com> <1510127797-22483-5-git-send-email-eranian@google.com> <20171108205643.GB8522@tassilo.jf.intel.com> From: Stephane Eranian Date: Wed, 8 Nov 2017 19:42:28 -0800 Message-ID: Subject: Re: [PATCH v3 4/5] perf/record: add documentation for sampling skid ip To: Andi Kleen Cc: LKML , Arnaldo Carvalho de Melo , Peter Zijlstra , mingo@elte.hu, "Liang, Kan" , Jiri Olsa Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 8, 2017 at 12:56 PM, Andi Kleen wrote: >> diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt >> index 5a626ef666c2..3b156fa03c99 100644 >> --- a/tools/perf/Documentation/perf-record.txt >> +++ b/tools/perf/Documentation/perf-record.txt >> @@ -57,6 +57,14 @@ OPTIONS >> FP mode, "dwarf" for DWARF mode, "lbr" for LBR mode and >> "no" for disable callgraph. >> - 'stack-size': user stack size for dwarf mode >> + - 'skid_ip' : boolean, captures the unmodified interrupt instruction pointer >> + (IP) in each sample. Usually with event-based sampling, the IP >> + has skid and rarely point to the instruction which caused the >> + event to overflow. On some architectures, the hardware can eliminate >> + the skid and perf_events returns it as the IP with precise sampling is >> + enabled. But for certain measurements, it may be useful to have both >> + the correct and skid ip. This option enable capturing the skid ip in >> + additional to the corrected ip. Default is: false > > Actually in the scanner you use 'skid-ip' (with minus). Documentation should at least match > the scanner. > I have fixed the documentation. I used - because many other terms and options use - instead of _. > _ is usually safer than - > I tend to agree with you. > -Andi From 1583533108128519198@xxx Wed Nov 08 21:00:54 +0000 2017 X-GM-THRID: 1583483886934922232 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread