Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp25483lqp; Fri, 12 Apr 2024 09:31:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyD8EnnzAU2obOVBENcuRo08X94v0lgcgmyuV+oUTcFnnabTMZBK858jzcaK1ZZLR4Sw4oxed2DrdFDiQSWpXITCwL5VjaVCcJ4txVBQ== X-Google-Smtp-Source: AGHT+IGBe6oip+k1JlxfoeWKF1+g+8k/6jxE0DC4TItwdGbHCwiQ2T7OwhH0iMI0gNHOdt927SWq X-Received: by 2002:a17:90a:de8f:b0:2a4:b9db:acf5 with SMTP id n15-20020a17090ade8f00b002a4b9dbacf5mr2748710pjv.24.1712939465834; Fri, 12 Apr 2024 09:31:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712939465; cv=pass; d=google.com; s=arc-20160816; b=ZRCjNNOnVcA3qcjQkZgseLxwGfWhoIQ1d6GLVrOd+YWflHtwASZ3zIF+SSIylMV1bQ qtmfZWItZ8133h7w96IcF8nBL2xwdFsZPA5/HHzhbtooLus4H7ja26eG56Inu4lqYRrO Wkkwo92cv5DGvufYpUnzW8K7PbBWNMbfrZcUnzwY00RWzCuwgUxyXwB/8if8VPZ/2nQi VvBGfihYjXjX+IpBkmt+PosZd+q8CA+bMjyqytAXBC73FhoZwGRbyIGA827wU3xRFLSh myUHofSSaxAGhMLH/f1LO19Za9sJCA33wUiG2qOk6rmolP670CddwTo3YUCmqvqVBiKM bvBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=gYU/C1YkdMeqNM45XPHiF6dsj5ceAy4sxDknsKTpX2A=; fh=22aR/NFsCqnOGZIQzPDG1h79gcfY6gTV1vkpxQGj2A0=; b=JIjaBzIGTT1rJlOE2anMP5U03vfMU7MFny2Wza96f9tUJ3s6eWKw4A/r06sb2jy7eK vpiDS7beOyNEZ3ixtMnhqT5W8WOy+Y3cAGaMvK0Vftq+DfLx/eiwGvvLUsRpcuq5UZ7M 0YZIi/QBs56CoG8XMYGHBEPrCRLfNCRVnOJ0z8jNRFyuWfWEG/qRh78NI3GOT48zdovz mgz0NnJ7vNGmaVd/63lkD9KWWr9Gc4KuGVKHFk2EgY1D9aT3sxYvpgTRUoAuX+A1vdX+ YdNbB2FmgtseXBF+5niY0n4ZLjr9btYqE+2IE95fyLV45vRT2gUB7w2rJD9S851lJwGP NoGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-143038-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s8-20020a17090a5d0800b002a241249bf8si5714742pji.99.2024.04.12.09.31.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 09:31:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143038-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-143038-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 454F3B26D2E for ; Fri, 12 Apr 2024 16:17:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0C14C149DE3; Fri, 12 Apr 2024 16:16:07 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 324DE1487FF; Fri, 12 Apr 2024 16:16:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712938566; cv=none; b=UlGpfDuMTKGqz3hNuw5DwYof4tzaiRsod5UicQUg/mun1JoTqZG7cx0QbBzkP0UOfKNnzXJRAaroxID9rJnx3027DyKsVcGZRuSUSC4MaxZdBHkUEgn5kfiKfiPWjYfpO0B9EONtE5le1JI2mf2Ei1HL0AhOaLa7xRFGAtgXo/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712938566; c=relaxed/simple; bh=R7LerIn/HSC7R8/axKcxrEFTXj4LE1SX89SZ9pIIKSI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IN/o7LzKn46XbrpLzH9f9/vc5dEAIs9UCbkYGKyoQl8zBj0zvzfYqPkgDlTJ6NhCyxsO/FT0JG7AKB5qoBEx+gEmUW7070DbL7M1lVU+v/uhwaSAEZIyFNIKFq3BUERZcaVZJg70DOUXH6rnAFUyfCI2SHoUj+FMq/S3giuz6Qs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4VGM4c4M1Sz6K6hC; Sat, 13 Apr 2024 00:11:12 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 064E7140119; Sat, 13 Apr 2024 00:16:03 +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_256_GCM_SHA384) id 15.1.2507.35; Fri, 12 Apr 2024 17:16:02 +0100 From: Jonathan Cameron To: Mark Rutland , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , , , CC: , Shaokun Zhang , Yicong Yang , Jiucheng Xu , Khuong Dinh , 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 v2 10/30] Documentation: thunderx2-pmu: Use /sys/bus/event_source/devices paths Date: Fri, 12 Apr 2024 17:10:37 +0100 Message-ID: <20240412161057.14099-11-Jonathan.Cameron@huawei.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240412161057.14099-1-Jonathan.Cameron@huawei.com> References: <20240412161057.14099-1-Jonathan.Cameron@huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: lhrpeml100003.china.huawei.com (7.191.160.210) To lhrpeml500005.china.huawei.com (7.191.163.240) 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.39.2