Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6016783rwl; Tue, 4 Apr 2023 06:52:32 -0700 (PDT) X-Google-Smtp-Source: AKy350aoR1iIGVzRhKOetDC5h8j563aiw024xtNBumiWcjYdtnOJ+i8Bsx3Vka+O41pHDDA2Fr/U X-Received: by 2002:a17:906:e24a:b0:8af:3b78:315d with SMTP id gq10-20020a170906e24a00b008af3b78315dmr2177081ejb.23.1680616352382; Tue, 04 Apr 2023 06:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680616352; cv=none; d=google.com; s=arc-20160816; b=LGiDDFSM47e1z46UcDUe002lEXzodkjioAZ+CWisgf1mpaUbGJOpM+LccOLZW5ZXck mg+VAXS9Vczn3gUr23Lalo0sTJruOZBNNn/tpuu1z+BFT2jb+eAPcpnozsqaueRy3zfo KeG84dStph1zxRheHJ283Y9g2rkqtIPBc0ZIW2hTbzuDFH4dNTH15TSf8u25fXFZhPP5 c8uirlL6CeJcfW/rj5lN7n+Dnp2T3dThzw8CSlEkHNnokaw9mxB/1tpysfqxtHGssJfm KwyVRnawOmaDoiOYEvOqas+2D43gCoUH/kPqmpQ8hff/+Wm6XeWhxuq9heDAk6kA4Lbj /1tA== 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=IEjcJELqZ0qDpvTZy+cEdq1UDulTWQXQuzvRK9gFXKk=; b=J+jHvij5flQ4gU3Op77sD/0Uicc+JL1fOSoi1elpx2JtdP7hAP2ucTaoClFmp7q8ML lQ4LoQ7+ar5LrVPw0Epu8BoGuO54v8FdRtw9wXpEXSyYsJF9b4btQWv0+ufjdaLcYI0b exZZdCuU9FkEffYT2x+VcGnaBgvoeN67xAXl86lGSU9MpUQFrwJ0mK0f1bbgPctXaL4g s2KlhlAnkflrnG1TcNBszsWqf4iGVXtuZpiVNHxP6wAWGY9h4kxUVjWTrF8m8u3GmAZE j4HxA8AFsDd6CwgXz3550Xr0TvxHBTauH18lwgEpow09g111CIbq8vcGWXUu3CgRQeQx Ggmg== 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 s13-20020aa7d78d000000b004af60cc2a8csi1965572edq.486.2023.04.04.06.52.07; Tue, 04 Apr 2023 06:52:32 -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 S234355AbjDDNuA (ORCPT + 99 others); Tue, 4 Apr 2023 09:50:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235321AbjDDNtp (ORCPT ); Tue, 4 Apr 2023 09:49:45 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DC504C21; Tue, 4 Apr 2023 06:49:31 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PrTcp5kBPz67WVs; Tue, 4 Apr 2023 21:48:42 +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:49:28 +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 14/32] Documentation: qcom-pmu: Use /sys/bus/event_source/devices paths Date: Tue, 4 Apr 2023 14:42:07 +0100 Message-ID: <20230404134225.13408-15-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/qcom_l2_pmu.rst | 2 +- Documentation/admin-guide/perf/qcom_l3_pmu.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/perf/qcom_l2_pmu.rst b/Documentation/admin-guide/perf/qcom_l2_pmu.rst index c130178a4a55..c37c6be9b8d8 100644 --- a/Documentation/admin-guide/perf/qcom_l2_pmu.rst +++ b/Documentation/admin-guide/perf/qcom_l2_pmu.rst @@ -10,7 +10,7 @@ There is one logical L2 PMU exposed, which aggregates the results from the physical PMUs. The driver provides a description of its available events and configuration -options in sysfs, see /sys/devices/l2cache_0. +options in sysfs, see /sys/bus/event_source/devices/l2cache_0. The "format" directory describes the format of the events. diff --git a/Documentation/admin-guide/perf/qcom_l3_pmu.rst b/Documentation/admin-guide/perf/qcom_l3_pmu.rst index a3d014a46bfd..a66556b7e985 100644 --- a/Documentation/admin-guide/perf/qcom_l3_pmu.rst +++ b/Documentation/admin-guide/perf/qcom_l3_pmu.rst @@ -9,7 +9,7 @@ PMU with device name l3cache__. User space is responsible for aggregating across slices. The driver provides a description of its available events and configuration -options in sysfs, see /sys/devices/l3cache*. Given that these are uncore PMUs +options in sysfs, see /sys/bus/event_source/devices/l3cache*. Given that these are uncore PMUs the driver also exposes a "cpumask" sysfs attribute which contains a mask consisting of one CPU per socket which will be used to handle all the PMU events on that socket. -- 2.37.2