Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4707032ioa; Wed, 27 Apr 2022 09:22:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9sh2/hTLMzlhCB/KOb4Cf+g2k/svte2Le29ZSiagmjWp9Etb38DNCGpF5LaBzNhybQu8f X-Received: by 2002:a17:902:ccc9:b0:15b:c265:b7a0 with SMTP id z9-20020a170902ccc900b0015bc265b7a0mr28613393ple.107.1651076520345; Wed, 27 Apr 2022 09:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651076520; cv=none; d=google.com; s=arc-20160816; b=TIi2SNy/psCcZeebZm5iDlrKNCDfJrwge8gBZreDi6AJlETz//p7uGBc31LP/pR6gh HAoCC3ucASk+/98haNqz8DaRWEBiVbrVCLOhqSTUOtnsnvFUJ0xRmUFgD8uuUwqe4/4d bz2fa9oE2mCIobkCS/Fr+jy5fNK5q7kmN/mEOtxCk8dJ/sfA4M5OpHfBzdBC8041/DRZ ReWgRl9nBZWdCF/ySqqi1fzGn6bLP9f0C4E76vkhezSMSQakIGQjX9h8yCb0HdXkvj/K 3PounTJF+waSucYJe2AKQKxZ+3zICQyqWKFTPmEOpzQGzEXa/7cQYZq8NuMe+Yh+HH+L IkRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=88bbCk2ERYh6ocqftQtDENMk2Clg/XqHfHpE0jpLddU=; b=tYQ+iQx4tHnifAOlXE/M4a02THyGTRQ/DdLYk3yOQOKsl6ot8rOMKS5C2HQNLdvLoz zA7hIuYiIkcCGnVYoLK30kvMsvZwn88cdr7Kac5mZkKDuYOWFomtvVYV3dfLJrvpo6ms jpmcfbA+3zG/+5lAbVIudJ0AaRIEfj8Ka4+UFkT+I7Ql6zJPFm4xcYXqSuzAdqOdA4Um XyimZVckbjGn2r7a46tUbjgssg+VFKUTMfdChORHlD9m3QPctoJefvexPclcT6rrL9QF Z041xQS0FbJg8TnJGs+La2kWm4epH2MV2SJPdbBaBanvBqUv34xCWf8fy8tqz/8ZREnl MyeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s83lkLks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q11-20020a65494b000000b003ab28d0f497si1997036pgs.702.2022.04.27.09.21.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 09:22:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s83lkLks; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C917059BBF; Wed, 27 Apr 2022 08:52:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240836AbiD0Pyz (ORCPT + 99 others); Wed, 27 Apr 2022 11:54:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240740AbiD0Pys (ORCPT ); Wed, 27 Apr 2022 11:54:48 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B499755218 for ; Wed, 27 Apr 2022 08:51:31 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id j8-20020a17090a060800b001cd4fb60dccso2098577pjj.2 for ; Wed, 27 Apr 2022 08:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=88bbCk2ERYh6ocqftQtDENMk2Clg/XqHfHpE0jpLddU=; b=s83lkLksIUw8ngM7Tyq59eA4QD43e/DNUuirs4yzjdEUPGyJd9J1EPuqIZYpEm/E2a /35yDMvpNeOSfLpENywPsTdCITlb5EYJlaER73sUmG/2V63kr9N6OA1w7atZdNpgEIOG nPcP7Ui8oeioiaoqkPQuE1qBwXwluoQLP1WxPXG6vbkTMSErVqFHBYbRO+vK4KTWq7Ob SKnuMAJX+SsD2vj+uMk/ew2OTxkGItXFlzbXBOIu2RqrrJ8r9iECZHgDyMYsdLsBF49b f0ohV4mcDTiOIIrnlFkOHV+015HCNvPJXPIjrKOgrooM8hn9B0USG41fDXP2m0KpFvyq hsdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=88bbCk2ERYh6ocqftQtDENMk2Clg/XqHfHpE0jpLddU=; b=B32cL6OcBXAbf/c9AsFdMJp+XZODkqopBskYuhNwStNWrzIah2BHCl1zFX9G7zReYB 6/xfEnIUIW/WRLILKZUEPBFc6jughw2Ds0lFPM2Ty6wDoLUW17ps2PAoXzb2ZVM6tfg0 TgT5JD5Q2AD8GqzXvKIehqYCLf5nKrWWbTiAseqn802Irx06Q45xRy2piGaZzDu/IIJc B0o2/vEZRLWabww/bJ32DHNoNpVewoL3dUK4HXRLhDDxPLdgsfsEaWmydI4JeqCYijAv HcD7HJlnAb7tg7cYzZsIXYziLojCeNxXfZkJ3DIOz4tGtZhyGS77DxlYAfgMsybG01Rw ugeg== X-Gm-Message-State: AOAM531dOx8Fqro0RJFTaxbfnjRy/fJO8F/jJUBH3FTEzLt/wWFcqDpG tibGb7WKgy01swpy8yc8jfgl8g== X-Received: by 2002:a17:90b:3145:b0:1d9:ab18:910e with SMTP id ip5-20020a17090b314500b001d9ab18910emr10949105pjb.57.1651074690736; Wed, 27 Apr 2022 08:51:30 -0700 (PDT) Received: from localhost.localdomain ([134.195.101.46]) by smtp.gmail.com with ESMTPSA id v65-20020a626144000000b0050a839e490bsm19164127pfb.185.2022.04.27.08.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 08:51:30 -0700 (PDT) From: Leo Yan To: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Alyssa Ross , Like Xu , Kajol Jain , Li Huafei , Ali Saidi , German Gomez , James Clark , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH v1 10/11] perf c2c: Update documentation for new display option 'peer' Date: Wed, 27 Apr 2022 23:50:12 +0800 Message-Id: <20220427155013.1833222-11-leo.yan@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220427155013.1833222-1-leo.yan@linaro.org> References: <20220427155013.1833222-1-leo.yan@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,RDNS_NONE,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since the new display option 'peer' is introduced, this patch is to update the documentation to reflect it. Signed-off-by: Leo Yan Tested-by: Ali Saidi --- tools/perf/Documentation/perf-c2c.txt | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/tools/perf/Documentation/perf-c2c.txt b/tools/perf/Documentation/perf-c2c.txt index b39e3f3df272..aa560ce1a192 100644 --- a/tools/perf/Documentation/perf-c2c.txt +++ b/tools/perf/Documentation/perf-c2c.txt @@ -109,7 +109,8 @@ REPORT OPTIONS -d:: --display:: - Switch to HITM type (rmt, lcl) to display and sort on. Total HITMs as default. + Switch to HITM type (rmt, lcl) or peer snooping type (peer) to display + and sort on. Total HITMs (tot) as default. --stitch-lbr:: Show callgraph with stitched LBRs, which may have more complete @@ -174,12 +175,18 @@ For each cacheline in the 1) list we display following data: Cacheline - cacheline address (hex number) - Rmt/Lcl Hitm + Rmt/Lcl Hitm (For display with HITM types) - cacheline percentage of all Remote/Local HITM accesses + Snoop Peer (For display with peer type) + - cacheline percentage of peer access + LLC Load Hitm - Total, LclHitm, RmtHitm - count of Total/Local/Remote load HITMs + Snoop Peer + - count of peer access + Total records - sum of all cachelines accesses @@ -211,6 +218,9 @@ For each offset in the 2) list we display following data: HITM - Rmt, Lcl - % of Remote/Local HITM accesses for given offset within cacheline + Snoop Peer + - % of peer accesses for given offset within cacheline + Store Refs - L1 Hit, L1 Miss, Any Lvl - % of store accesses that hit L1, missed L1 and any cache level for given offset within cacheline @@ -227,8 +237,9 @@ For each offset in the 2) list we display following data: Code address - code address responsible for the accesses - cycles - rmt hitm, lcl hitm, load - - sum of cycles for given accesses - Remote/Local HITM and generic load + cycles - rmt hitm, lcl hitm, load, peer + - sum of cycles for given accesses - Remote/Local HITM, generic load and + peer access cpu cnt - number of cpus that participated on the access @@ -251,7 +262,8 @@ The 'Node' field displays nodes that accesses given cacheline offset. Its output comes in 3 flavors: - node IDs separated by ',' - node IDs with stats for each ID, in following format: - Node{cpus %hitms %stores} + Node{cpus %hitms %stores} (For display with HITM types) + Node{cpus %peers %stores} (For display with "peer" type) - node IDs with list of affected CPUs in following format: Node{cpu list} -- 2.25.1