Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6016435rwl; Tue, 4 Apr 2023 06:52:16 -0700 (PDT) X-Google-Smtp-Source: AKy350YIYA8Jvog9lj5CJbCKkQk1kcA/Yjfa5qiibNQ3DkuuknsO9ZfU+raaO602BvNgAb5anynk X-Received: by 2002:a17:906:1d44:b0:931:20fd:3d09 with SMTP id o4-20020a1709061d4400b0093120fd3d09mr2728281ejh.17.1680616336228; Tue, 04 Apr 2023 06:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680616336; cv=none; d=google.com; s=arc-20160816; b=d1zEqdfaww5d8LmhHXBwSii4RdXhB0N3uqOYBxUwx3ArGI+YKDNmtobJGGLZWPJ0c0 XqYsXoss8Serl0NMgTvzf1XpuuAXTa8HF6Qa92hDEi3qAZvaQX/Gd0nlgoQG5ddWNWJs hoKH2hbi6Px2/Rc8yrmd8CATC8IvIQ57dTInMGeBLeisSvqmvIEnswJP5vRkuYvOBjfa cwVBZAhgNqUX4X2SlT+YeNIm5s3kYCrVuG48h1dekOiFA0s7t0rarIhE509V4S6hQ+4m 7aChi8cU/LrUQk54z0tZCX90bn5ZeL1L5wqPOaSn4S8/i9FGkWWqnaASXk8nrnslmPg6 8Qzg== 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; bh=JTXlPSdCft/y51H0F/PTWgaoIvdlcQvqRA2J7MzVhFg=; b=Kx2CYUiEP/ccSg4PCWv2nKSf7g5Kvj11S20xyb2PG5MLhrCISQi2sETkmQHJ15mo6w 4ix1CsMhuJpwSFewPMtM2rg3ymfZ3GoTQxwEutaUEXviPFqzF5jSTEuRn37FAVubfXof jwaP/8P2MuhGJcPYizNvpVUZXH5HsFO35d+FX/xL+ahaVoWVA6KJtdxMeLZy3QLS2x1w YuyMIkWyeH/ZDQ3gwl55Bz4e/ObQpv2dUcJC4fm5FhBDm9rbocJNmE5rYiNJ4hAj5mfY a+2Qa/g02wdsTSKjRPHhqfrDl5hnzgPhzMIPJ+vAG5Ec1296S97Gkh1uafxlOeeTzgTz yy6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bl7-20020a170906c24700b0093defbd6295si719633ejb.1052.2023.04.04.06.51.51; Tue, 04 Apr 2023 06:52:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234789AbjDDNsO (ORCPT + 99 others); Tue, 4 Apr 2023 09:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235109AbjDDNsB (ORCPT ); Tue, 4 Apr 2023 09:48:01 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1BCA3AA4; Tue, 4 Apr 2023 06:47:58 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PrTb21Q96z67RhJ; Tue, 4 Apr 2023 21:47:10 +0800 (CST) Received: from SecurePC-101-06.china.huawei.com (10.122.247.231) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 4 Apr 2023 14:47:55 +0100 From: Jonathan Cameron To: Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , , , CC: , Dan Williams , Shaokun Zhang , Yicong Yang , Jiucheng Xu , Khuong Dinh , Robert Richter , Atish Patra , Anup Patel , Andy Gross , Bjorn Andersson , Frank Li , Shuai Xue , Vineet Gupta , Shawn Guo , Fenghua Yu , Dave Jiang , Wu Hao , Tom Rix , , Suzuki K Poulose , Liang Kan Subject: [PATCH 11/32] Documentation: thunderx2-pmu: Use /sys/bus/event_source/devices paths Date: Tue, 4 Apr 2023 14:42:04 +0100 Message-ID: <20230404134225.13408-12-Jonathan.Cameron@huawei.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230404134225.13408-1-Jonathan.Cameron@huawei.com> References: <20230404134225.13408-1-Jonathan.Cameron@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.122.247.231] X-ClientProxiedBy: lhrpeml500003.china.huawei.com (7.191.162.67) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 To allow setting an appropriate parent for the struct pmu device remove existing references to /sys/devices/ path. Signed-off-by: Jonathan Cameron --- Documentation/admin-guide/perf/thunderx2-pmu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/perf/thunderx2-pmu.rst b/Documentation/admin-guide/perf/thunderx2-pmu.rst index 01f158238ae1..9255f7bf9452 100644 --- a/Documentation/admin-guide/perf/thunderx2-pmu.rst +++ b/Documentation/admin-guide/perf/thunderx2-pmu.rst @@ -22,7 +22,7 @@ The thunderx2_pmu driver registers per-socket perf PMUs for the DMC and L3C devices. Each PMU can be used to count up to 4 (DMC/L3C) or up to 8 (CCPI2) events simultaneously. The PMUs provide a description of their available events and configuration options under sysfs, see -/sys/devices/uncore_; S is the socket id. +/sys/bus/event_source/devices/uncore_; S is the socket id. The driver does not support sampling, therefore "perf record" will not work. Per-task perf sessions are also not supported. -- 2.37.2