Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp840709ybi; Fri, 12 Jul 2019 05:32:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOau21vkvCNEwsv/mdRuXZqljnYmzcFzx0GO9sQCEXwdcSkeNVnewcXrPQc/46QvUwkmk9 X-Received: by 2002:a17:90a:3548:: with SMTP id q66mr11660575pjb.17.1562934727916; Fri, 12 Jul 2019 05:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562934727; cv=none; d=google.com; s=arc-20160816; b=kMsVvfrdgSO8da2zrX3UA9K0f6CKbwh9SDdM5UbzlqnbcUACHNjAsZVGG5+hbm+DkO oAvzezw8o+AIhLH/PNMKrKKkRd4eVsKuoLEcQe8ysfgbX7tMT9LyIRXzTP4bgDeQacZK aSUba4s6Magupk+fJxr+hyBFyN1oVoq7znX3PE65mp/ASB5EkNsRPaV+U4hkpj0zroRm M/kmj+hczv74vX5IOyDAjjt3GAULHpfR9FleHf1+SOmF8GQrU9e8/hkEAkOrp3JwiVd5 FWONQR0IlzinT0UVDy4874zh2NsTByX1wz4aiVT+3RaLXHX24qwObeijKU9BGgalh8i8 8z2w== 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=RfVal1CjUaE4hNBZRC1HBVioioAsl2DPa4tz1mJPqv/SXqsKsOZoozUxqmdDyM3nud KiAvqT4cypjCIPiBYh6FJ4Bqmj7iF1ZX6TGol26befXyySBANXXj0ahB+pEnpGDYTIpp HZPTqxIYn9AetEi90gb5ZZgUI0uGc8LWele6mAXckpE4jWfdkXDdwmNH914oD7klG5pS wlYCNc+NTPl3r09t2Uz5nHEERjcC69x3r4YvLGuRca9lwMu5iUkf0bIIbXoWKNOFRgh0 Z9coS2EPJPMBAx7VVFhp/uFiptQXuiKTWTKzxpAr4Rl9rVVTpCDidQYSOl0NfSKNWLrf uZNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=twlnyza9; 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 cp10si1242407plb.301.2019.07.12.05.31.52; Fri, 12 Jul 2019 05:32:07 -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=twlnyza9; 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 S1729005AbfGLM3d (ORCPT + 99 others); Fri, 12 Jul 2019 08:29:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:44356 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728990AbfGLM33 (ORCPT ); Fri, 12 Jul 2019 08:29:29 -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 DDBF12084B; Fri, 12 Jul 2019 12:29:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562934568; bh=lkindddp7am+EJxQW8maw9xn2dB1EDCqkcHxRx8pMvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=twlnyza9utyIzkzKGYrkNq3lYa3XrtyPGSdMrmPIDPDO92m0He17IUHPuUlc9NBoS Kl4UmCYHGPj9sUEyNSUcFyv+k4bRWKOthHUYvZDIJlN7vrfKFWEcWbqnfTo/M/JJ6w hqKqzHkRQ9X0k4W9jgW72Sx3V4xJdX5fa1XjvZ3w= 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.1 098/138] perf intel-pt: Fix itrace defaults for perf script intel-pt documentation Date: Fri, 12 Jul 2019 14:19:22 +0200 Message-Id: <20190712121632.526201590@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190712121628.731888964@linuxfoundation.org> References: <20190712121628.731888964@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: