Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3555027pxf; Mon, 29 Mar 2021 05:36:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnXMi57OFefsLXuCpMTeN+8V2W1MNXf6DR9Glp7lXKWH5moBFHBCetNaFjG0zStzVtTuDg X-Received: by 2002:a17:906:3a94:: with SMTP id y20mr27759591ejd.35.1617021378356; Mon, 29 Mar 2021 05:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617021378; cv=none; d=google.com; s=arc-20160816; b=m5VZuvOqWs1cS36F1ljeo8tg8a/6sIyEWZv194dAdVHRYX4Rqi6G9pdwZ7thdOppTI 1GjjX/ud7LTzBkvkbvbCgSIUjrvSIoNZGSUkMwHmcBkClE9q91eUH9V+Pe7cfHpCooUQ 1LLcyiKcUqa/yftBaDgxE13v/79/+ZSRx4TsrjMEpTcf2RGsoJDDK2ADutBfzUNqeIZ+ lbhBtSANAX9omew9iR9cq2aH4LEiuc7QYq6r66n8Z+7UBNKBATeIRIyjkDrYUjz+dGDW EUaJCZZqP7JKrUzRLBXzu88AvUGz8eIm2pLoSDU9X48ay6FlrtYspMyma7ErKm7G+DKO 7WQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=kvC3HS2W5wRKxbN7B8orPxlKxu4h4CufGWpZN0YwpIY=; b=lhGiAJlUWwhC/VpT/wd0eEx2v2/DJBY0KDyDBIEZhxeKqwfOmI6J7+utFRvjAGahaY eJeeyCOrGgqmvKoK1AKxjO7fJODKpK9pIbFO0088ZV79vbQ2n4IWYTPC+K0OdXggk/zC D0jVSyTMVMt/kpbsKtHwk09JUNG66KFwEE8++NV9tTuesHsI/dWoh0DoYHWbsxJQJviQ 4Rf2XSzvGIWROiruB28bkEohg2PtV7Wu96TpkHufOyXPFOLR3WkWCt03DVi3sG3jrHS1 ff3plMFQhrWxJiHk52FkckMHjkX/JclhgbI/fZqbY0aat2EY5rgmvM7TLaI41sZHHJJW kzdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si12359756edq.578.2021.03.29.05.35.55; Mon, 29 Mar 2021 05:36:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230526AbhC2Me5 (ORCPT + 99 others); Mon, 29 Mar 2021 08:34:57 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14184 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231254AbhC2Mej (ORCPT ); Mon, 29 Mar 2021 08:34:39 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F8Bm03b8tzmYhw; Mon, 29 Mar 2021 20:32:00 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Mon, 29 Mar 2021 20:34:29 +0800 From: Qi Liu To: , , , CC: , Subject: [PATCH] docs: perf: Address some html build warnings Date: Mon, 29 Mar 2021 20:32:01 +0800 Message-ID: <1617021121-31450-1-git-send-email-liuqi115@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix following html build warnings: Documentation/admin-guide/perf/hisi-pmu.rst:61: WARNING: Unexpected indentation. Documentation/admin-guide/perf/hisi-pmu.rst:62: WARNING: Block quote ends without a blank line; unexpected unindent. Documentation/admin-guide/perf/hisi-pmu.rst:69: WARNING: Unexpected indentation. Documentation/admin-guide/perf/hisi-pmu.rst:70: WARNING: Block quote ends without a blank line; unexpected unindent. Documentation/admin-guide/perf/hisi-pmu.rst:83: WARNING: Unexpected indentation. Fixes: 9b86b1b41e0f ("docs: perf: Add new description on HiSilicon uncore PMU v2") Reported-by: Stephen Rothwell Signed-off-by: Qi Liu --- Documentation/admin-guide/perf/hisi-pmu.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/admin-guide/perf/hisi-pmu.rst b/Documentation/admin-guide/perf/hisi-pmu.rst index 3b3120e..5469793 100644 --- a/Documentation/admin-guide/perf/hisi-pmu.rst +++ b/Documentation/admin-guide/perf/hisi-pmu.rst @@ -57,16 +57,20 @@ For HiSilicon uncore PMU v2 whose identifier is 0x30, the topology is the same as PMU v1, but some new functions are added to the hardware. (a) L3C PMU supports filtering by core/thread within the cluster which can be -specified as a bitmap. +specified as a bitmap:: + $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_core=0x3/ sleep 5 + This will only count the operations from core/thread 0 and 1 in this cluster. (b) Tracetag allow the user to chose to count only read, write or atomic operations via the tt_req parameeter in perf. The default value counts all operations. tt_req is 3bits, 3'b100 represents read operations, 3'b101 represents write operations, 3'b110 represents atomic store operations and -3'b111 represents atomic non-store operations, other values are reserved. +3'b111 represents atomic non-store operations, other values are reserved:: + $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_req=0x4/ sleep 5 + This will only count the read operations in this cluster. (c) Datasrc allows the user to check where the data comes from. It is 5 bits. @@ -79,7 +83,8 @@ Some important codes are as follows: 5'b10000: comes from cross-socket DDR; etc, it is mainly helpful to find that the data source is nearest from the CPU cores. If datasrc_cfg is used in the multi-chips, the datasrc_skt shall be -configured in perf command. +configured in perf command:: + $# perf stat -a -e hisi_sccl3_l3c0/config=0xb9,datasrc_cfg=0xE/, hisi_sccl3_l3c0/config=0xb9,datasrc_cfg=0xF/ sleep 5 -- 2.8.1