Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp847471ybi; Fri, 12 Jul 2019 05:38:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9HIeeWvtfoXnjzU1FDPLHCzS56livLxlpXx1PmNfiXRiEeWftrPoJrSCxS1ysMLE7oa0d X-Received: by 2002:a63:2c8:: with SMTP id 191mr10452742pgc.139.1562935113101; Fri, 12 Jul 2019 05:38:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562935113; cv=none; d=google.com; s=arc-20160816; b=SeKdUfpuCsh6N3HHHGSyViGC5ENj26H78VfmMPWX58qhN7AdXawZ3hYmD7Fbsfn1mI Sl0MdDPWUzAUog5DcFiwk41SVEmDPIt6JQEwnUz3k1VPOjeZuddNeCBtg2K7wKxM807y wAmhHI16s9lnbeeJDkQEnm3ez8fUCmFt6OAvfaVqiseF1BRNc5HvdJegponOOnOdg419 jW5wqehb5QK9pSLg3gGIgFiLZ2nMgMvD0edmY68+K+dzy8J3HX/Yz/w6FSAW7Dt4FaLc S1enbNy5hNDumX+1EdyeQgveWi9n+VMCRoPcO2aJw+m4Kcvo10JLREeeQ4FzPRYiXzA4 sGXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Cu8Pv9EzNqrCfZj9a8B+bYX2qhT3FVhOiDbB32RJWtI=; b=Ui36LZLoYihiDYruM4bGLWnrT+ZqXtpQw4Zxuz3upBxv0lDRoHx9jtCKcgYHTtQDGH l6+LRtJzJemdz3+f3QMbamHSE4XG/MsOdTepqcCSg71VFKNPz5dBTJzKJpvxoEfLblTa hTv41HRc9zJONuCSCOd2xNVXNUxlLDVoytJ4AEBAQhH18OM7PgdZRcd2dfBzBEdH8fPt hGI3leIZmQifgRiD3MHROnkoWLuUfJYYloK21fyDegcttmfQMoHb71p1tteQfmA4/mYQ RwD0+E7/KCgbtVQULRCsWDSMH3HPJjoWPxS8nrpq+4PUARQcygRVL4GD4ZAw9vNuou/g pS6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AdYZkVqj; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f61si7878869plf.258.2019.07.12.05.38.18; Fri, 12 Jul 2019 05:38:33 -0700 (PDT) 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=@kernel.org header.s=default header.b=AdYZkVqj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728926AbfGLMcT (ORCPT + 99 others); Fri, 12 Jul 2019 08:32:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:49972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727685AbfGLMcQ (ORCPT ); Fri, 12 Jul 2019 08:32:16 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 A1FE2216C8; Fri, 12 Jul 2019 12:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934736; bh=lkindddp7am+EJxQW8maw9xn2dB1EDCqkcHxRx8pMvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AdYZkVqjrbtzrQQXYYsBljGDeJZ0UbifAGCwNveVHKKjoWUKoxvwDbc5CX1J6leCt EBWC2XIEmkzteh6H4A2RVQpRXDit/iqb1jAKO9AFYJ/To0KwOoVDJPVN48r94NfBWd IJFXVPMOs4gwAurCr14zZU/kAKTXzsp9+PtgD5yY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Adrian Hunter , Jiri Olsa , Arnaldo Carvalho de Melo Subject: [PATCH 5.2 15/61] perf intel-pt: Fix itrace defaults for perf script intel-pt documentation Date: Fri, 12 Jul 2019 14:19:28 +0200 Message-Id: <20190712121621.455643067@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121620.632595223@linuxfoundation.org> References: <20190712121620.632595223@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adrian Hunter commit a2d8a1585e35444789c1c8cf7e2e51fb15589880 upstream. Fix intel-pt documentation to reflect the change of itrace defaults for perf script. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Cc: stable@vger.kernel.org Fixes: 4eb068157121 ("perf script: Make itrace script default to all calls") Link: http://lkml.kernel.org/r/20190520113728.14389-4-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Greg Kroah-Hartman --- tools/perf/Documentation/intel-pt.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/tools/perf/Documentation/intel-pt.txt +++ b/tools/perf/Documentation/intel-pt.txt @@ -88,16 +88,16 @@ smaller. To represent software control flow, "branches" samples are produced. By default a branch sample is synthesized for every single branch. To get an idea what -data is available you can use the 'perf script' tool with no parameters, which -will list all the samples. +data is available you can use the 'perf script' tool with all itrace sampling +options, which will list all the samples. perf record -e intel_pt//u ls - perf script + perf script --itrace=ibxwpe An interesting field that is not printed by default is 'flags' which can be displayed as follows: - perf script -Fcomm,tid,pid,time,cpu,event,trace,ip,sym,dso,addr,symoff,flags + perf script --itrace=ibxwpe -F+flags The flags are "bcrosyiABEx" which stand for branch, call, return, conditional, system, asynchronous, interrupt, transaction abort, trace begin, trace end, and @@ -713,7 +713,7 @@ Having no option is the same as which, in turn, is the same as - --itrace=ibxwpe + --itrace=cepwx The letters are: