Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6015340rwl; Tue, 4 Apr 2023 06:51:20 -0700 (PDT) X-Google-Smtp-Source: AKy350Y+u8EwAeIa9lqSoVFbJkCDnYnbHvWJNyNsxcMsv1LtJm0w0sQaoUUpHdSP6VC1+P5dDVgF X-Received: by 2002:a17:906:b08f:b0:933:4d37:82b2 with SMTP id x15-20020a170906b08f00b009334d3782b2mr2072319ejy.57.1680616280067; Tue, 04 Apr 2023 06:51:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680616280; cv=none; d=google.com; s=arc-20160816; b=NGpXFR+nfNAv6XPZwSBJZSFFbBfmPmCxz4ro7qPbGBpyC7zlbEjI8ouDje1DMF/3oZ Dly7COR3JRVqy0lq7+ikLz0MuYleEHj1LWtrRjhcauQ7KiPlSRgWlOlrMmJKrYqFT4+e THEn+s030xAWtHWw1BlPZ6C2zuTuyqUZUIk5imo46iVz0ero0N2V9dVI8ZLitnGeEJgk C2NNMU3cZWgQJaXMZp/5wnHzqI3rywhNGClkSk8R43bfvPVJMFtYJ6vCix0C2H7OU2kZ Y6ku+qnC5hLMHaZuG/w2eGsec07Qg92orI5p99vx23/d8zSYf0SLeI/czAh+96bx0E43 lvWQ== 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=a6WvNNcIOLJoLSJb77wx6jFJMqFSAXmreHnqsXEuGHQ=; b=GiT7+kt7lbw+732MSG568Oc2uOj+r1HYCjuf9oRCCFAxOEzHt6BLwTO3exSADPOsQ/ /g9+TzbpgM9zHPl74my+DLmR+AwCsZhgqXBoAflFfy9eFYK468I/eSHAPKzuj+Rt1oZl BEjvP0gL4omopFFn0q8yi9wIYZfgluZ8AzYFeHq0dYGfWfTjyICAyhaUvXG9zrPfohyU zl1rUjBMYKoMNywR6l0JhRo6kwd48xPsKPvZD/yhSF7sJiJybv9jOOM5WtIe3x9tKrQ0 Xf12kkdZJy/F324sk2SKMXwlnnAqf739HSZVGRMJPDiEIhA5iI+p51iTCQJYXX6N5uM3 NJ9A== 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 h25-20020a170906111900b008cc657e52afsi8452302eja.604.2023.04.04.06.50.54; Tue, 04 Apr 2023 06:51:20 -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 S235348AbjDDNr2 (ORCPT + 99 others); Tue, 4 Apr 2023 09:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235361AbjDDNrM (ORCPT ); Tue, 4 Apr 2023 09:47:12 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16DE13C02; Tue, 4 Apr 2023 06:46:57 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PrTYr4H7Kz67dcg; Tue, 4 Apr 2023 21:46:08 +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:46:53 +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 09/32] Documentation: xgene-pmu: Use /sys/bus/event_source/devices paths Date: Tue, 4 Apr 2023 14:42:02 +0100 Message-ID: <20230404134225.13408-10-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: lhrpeml500004.china.huawei.com (7.191.163.9) 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/xgene-pmu.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/perf/xgene-pmu.rst b/Documentation/admin-guide/perf/xgene-pmu.rst index 644f8ed89152..98ccb8e777c4 100644 --- a/Documentation/admin-guide/perf/xgene-pmu.rst +++ b/Documentation/admin-guide/perf/xgene-pmu.rst @@ -13,7 +13,7 @@ PMU (perf) driver The xgene-pmu driver registers several perf PMU drivers. Each of the perf driver provides description of its available events and configuration options -in sysfs, see /sys/devices//. +in sysfs, see /sys/bus/event_source/devices//. The "format" directory describes format of the config (event ID), config1 (agent ID) fields of the perf_event_attr structure. The "events" -- 2.37.2