From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6BB47A0C4F; Mon, 12 Jul 2021 08:39:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 25E9C40685; Mon, 12 Jul 2021 08:39:27 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50049.outbound.protection.outlook.com [40.107.5.49]) by mails.dpdk.org (Postfix) with ESMTP id D09CC4003C for ; Mon, 12 Jul 2021 08:39:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+J1SDjBSOGFAYF0mLepk5dS7cMqFKSm16ygef55hb5o=; b=xaz+wI6uOQC4XWOFlXCHFvzAFixoUVbF6efRlv1k6sYC8Xy4HPTLmbozL2lqAeUpU8d57UqSCebReNoglWKx6G740/UKgmdh9W7BGbGTQb41d3/WYo1rhNMn4ILKDS5RbYTk/lvB8AoAhDhPTNfvu8a8du/1ReGtLsSfhSmcHAc= Received: from PR0P264CA0208.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1f::28) by DB8PR08MB4954.eurprd08.prod.outlook.com (2603:10a6:10:bf::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.24; Mon, 12 Jul 2021 06:39:24 +0000 Received: from VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:100:1f:cafe::2d) by PR0P264CA0208.outlook.office365.com (2603:10a6:100:1f::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.19 via Frontend Transport; Mon, 12 Jul 2021 06:39:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT022.mail.protection.outlook.com (10.152.18.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Mon, 12 Jul 2021 06:39:23 +0000 Received: ("Tessian outbound ecba17995f61:v98"); Mon, 12 Jul 2021 06:39:23 +0000 X-CR-MTA-TID: 64aa7808 Received: from 7181c184ceac.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7A697FC1-8DB7-4616-A116-33350B4E7C5F.1; Mon, 12 Jul 2021 06:39:17 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7181c184ceac.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 12 Jul 2021 06:39:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e9LggI3nZOXwlDMfJxv9xsdOffcdPF/BL5Rd2nZgbwdE2rOseZNsnzdC7NTXyBAMWBDdo/eMDyJK4HqZLaK2837UF4H860Yjbtsrzpj2BpYSjFWNwPYZiURsG1GfLijdgCGM3jMN9ToptXEI94GgRB0rD52Hefoo2gHxPbrB26c2GPOQw+xyx4df0FLZFhq5hJ2SnWWG5fg4Tr5INhuzdEIp8kQioou8hkNkSqjXDhIrWgMyVLqHTGE7SNz9mLGBTHuZKe09duHsRkleDhbW6Z+0z0RaC05C4rrUMq5ouq9CVqoWjh5B3ekTWRwt+1SJkWoFfMprJs6VZhIS7LyL/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+J1SDjBSOGFAYF0mLepk5dS7cMqFKSm16ygef55hb5o=; b=nxKrPamX6yiKh43S8pj/XYteuAuTjZo/JesG4bIYfH3pa7dNIXlB/SL3Qajm5wkkZ1kjNV4xCkjPAfJz31TtCJBW+h6Zc3BfXtER90eJyND17vBRyUNUtzSZL+oXF4Cy5QkoUjK25aDPU82/3leNOgBZH+aZWt8+hqIgKyFsJT7mgBEvTqMNLOwYpIpKRwuYDmf0FanXAewd3t3NVSpzGcMEiRDZx9JGMA86vE6fC92T1Bx0x2Fvtc59oudRan5AvDt/yeREYg1dvt9l+l8mShahV5B8USl4pJ9zQy5+NlC6eypELgfeo4dP3paNbx2aw9XaWNLhMbGIPFUiBAIvxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+J1SDjBSOGFAYF0mLepk5dS7cMqFKSm16ygef55hb5o=; b=xaz+wI6uOQC4XWOFlXCHFvzAFixoUVbF6efRlv1k6sYC8Xy4HPTLmbozL2lqAeUpU8d57UqSCebReNoglWKx6G740/UKgmdh9W7BGbGTQb41d3/WYo1rhNMn4ILKDS5RbYTk/lvB8AoAhDhPTNfvu8a8du/1ReGtLsSfhSmcHAc= Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com (2603:10a6:203:9f::22) by AM7PR08MB5368.eurprd08.prod.outlook.com (2603:10a6:20b:103::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20; Mon, 12 Jul 2021 06:39:16 +0000 Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::3d12:4220:b215:7c52]) by AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::3d12:4220:b215:7c52%8]) with mapi id 15.20.4308.026; Mon, 12 Jul 2021 06:39:15 +0000 From: Ruifeng Wang To: "jerinj@marvell.com" CC: "dev@dpdk.org" , "thomas@monjalon.net" , "jerinj@marvell.com" , nd Thread-Topic: [PATCH] doc: enhance arm64 profiling documentation Thread-Index: AQHXdiqs2e3WhesQnkykIwEigfsXf6s+5MdA Date: Mon, 12 Jul 2021 06:39:15 +0000 Message-ID: References: <20210711075821.3022587-1-jerinj@marvell.com> In-Reply-To: <20210711075821.3022587-1-jerinj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: EF8F38CD93172C4DAB1A92B1AF98A83B.0 x-checkrecipientchecked: true Authentication-Results-Original: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: c5b52de8-3b4b-4a78-d487-08d944ffc98d x-ms-traffictypediagnostic: AM7PR08MB5368:|DB8PR08MB4954: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: sAErS2/Xp8u/f1HPPnivHAa5fDdCWcdXE0NpwfpcnIZ1Z0bHuJ7Z473xHW7RhZWBh/WGyKNUpdY37htl4sv921yvSlRlxFpu8XO4wUpJMcb6cBpQMWq3xBqSOfy5tC1SVOFL4h+0Q0hqbJYA1dJE+JLHDMCgLikZD+UxCJVYSyrZgyckdQHve0fjU/5UxX4Clnb0Y1HffeufmNk04E2iIAePh1s+ZYWaVC679/29kqn5U28af2t4Dm1EjkTAWxHlqGWlqdu6UY/r53kLuAqdouaq/8UR9eqkWF/36ikVk9mjDei6veuYHbRdsegVKoT+PMe+PvMYdfnEHSEcNB0ejz8/4OSBPYgdnPa4xqkYEJWEK1wLYbd/zvCgAM6Dake9p7hxlKqvjTLOIM3IJr3p0arPVa2SgOQufus7saZMkc6kvWDPYPA5nzIu76kMhkT5MPvPlrTIR8YJZw3GX7J6O+7+8KBaO2fat+jsc8lFk/zxbDD+r/W6efZBYkWkXSJ+Lo1G+Bw612OheN/HpM5bPKaGkZEUfAfsI6MBKL+c+d/ONnK/OqCLAWfnfZKR9YxiU8JHk8QtRYL7jAa2Jy49sUab1OwVEcxAyvBSqfGO2j3IRMAi2DWxqgTsfn1HzmDEPCixVepGodHQC5PVlDOWuA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0802MB2465.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(136003)(39830400003)(376002)(346002)(26005)(122000001)(2906002)(76116006)(64756008)(52536014)(66476007)(55016002)(83380400001)(66556008)(38100700002)(66446008)(66946007)(5660300002)(4326008)(8676002)(54906003)(9686003)(7696005)(71200400001)(6506007)(316002)(6916009)(86362001)(478600001)(8936002)(33656002)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PWdvgizXdADDHg+P+N8AzA/FCA3RmEMCZ5riAsqgE9KPvQbbqrtjjshOLEtQ?= =?us-ascii?Q?btdJXJnRgkWjOHe+CJBc/38JIjA93+6Oo57E7Dtc2bImPsyy/lLQ7skSN3Bp?= =?us-ascii?Q?wlZyVWDX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=?us-ascii?Q?pyw0MCPGEWbwZjGXLzePZnebcTmSNRq7G3vanmV4ji2n3thcCMVhI4O2VQ96?= =?us-ascii?Q?oQafOL5KuBWZYNOPz3U+3nHz+Zx8Dc3F4Izv7xr9vtp/ElXSjxzjZhz43U7f?= =?us-ascii?Q?Kp+IlKtqVsDn+VLVJ74XO3inKWQNe0T3HCqrAyfDZDtgxCkl1m1X3grBY08l?= =?us-ascii?Q?x2P1XXlFGqR5da5n3zDveC5CZDdEoI82TB3i0L2+7IQZjfBb/x+aihSjoVda?= =?us-ascii?Q?0UYg5cC0bLXzhN7icB2DSr24MOiXcL534PfruDhdAqGxw0RBwRmQcNsU665p?= =?us-ascii?Q?EF92cmtTGg3WcsrAyynGqPDQ?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5368 Original-Authentication-Results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f9ccd558-2d68-41f1-b347-08d944ffc4c9 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zWQQ4qpU8wEoxnS85p0WqgN2w/UaG7/QZFsR+31oi9uhdmV942arg17iPkNHwVNV40TA0QYD7JNiFCcod8CBASY0YhtAp5PqjhjAPuwX8KIz3Puuxe1QutUBnPJBmY3ITI0sfVsmL5hPQ6kE4KwWEtTHFKR1YqH5k9+sFTdIQmj9nKmWXh0EPiNKGjI/WwzPMNUWsYXNd/awFvBgKl4/rHiKFus5cTeF7CodT84UdYAjy11q+bdkiSP6hNDTAAIufztE+nMgAmqUoFxzSqRPUhxlt02vOKX6XEoikg5hdQXsBg9L7oO4/KyfICDWSlFeOkspxWLXZDmvtYykKszc6DkqGXvnndijPQc8JueXXNiyk/bKVha3qfjo8qVYX7nDJ/y5aeOnTsmkxvdkYTy53X/c9ShZbe0EN2hzPJU8OgIVamL79nAWfR6H6hwGAfpCq0He7aQ5i+UmJkF1y8gr0z8OhAdwK0K5dcQ55+wbyFaSJwVl1/QRVSNUiHjeIVEBOr/ADI0eHSVPqen38DwHbjh7ftJcEwa2gg7I6clYyedmvxpPW7s7vdwtcNDfye4HDQlSI7YgNGtoSxj8XF47/00ncVqUhZVKSfS7G/qGXhM2hcoDpaKM4WvYWLiRjvC4fw/LvNsdISfiQ+lkpXXZCI2Q3eQPfHXG9PxgEsvSJ9g41Qy4NMRYJ+nUoMO+JOHpMflgcovNq7xiAcbn8h8x4A== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(136003)(396003)(39830400003)(376002)(346002)(36840700001)(46966006)(36860700001)(70206006)(47076005)(8936002)(7696005)(55016002)(70586007)(26005)(81166007)(5660300002)(52536014)(86362001)(356005)(82310400003)(83380400001)(186003)(6862004)(6506007)(478600001)(4326008)(8676002)(33656002)(316002)(54906003)(336012)(2906002)(9686003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2021 06:39:23.7331 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c5b52de8-3b4b-4a78-d487-08d944ffc98d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4954 Subject: Re: [dpdk-dev] [PATCH] doc: enhance arm64 profiling documentation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: jerinj@marvell.com > Sent: Sunday, July 11, 2021 3:58 PM > Cc: dev@dpdk.org; thomas@monjalon.net; Ruifeng Wang > ; jerinj@marvell.com > Subject: [PATCH] doc: enhance arm64 profiling documentation >=20 > From: Jerin Jacob >=20 > Documented the role of RTE_ARM_EAL_RDTSC_USE_PMU to enable PMU > based rte_rdtsc(). >=20 > Signed-off-by: Jerin Jacob > --- > doc/guides/prog_guide/profile_app.rst | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) >=20 > diff --git a/doc/guides/prog_guide/profile_app.rst > b/doc/guides/prog_guide/profile_app.rst > index 52f85bb9e0..bd6700ef85 100644 > --- a/doc/guides/prog_guide/profile_app.rst > +++ b/doc/guides/prog_guide/profile_app.rst > @@ -94,7 +94,16 @@ an ARMv8 machine. > make > sudo insmod pmu_el0_cycle_counter.ko >=20 > -Please refer to :doc:`../linux_gsg/build_dpdk` for details on compiling = DPDK > with meson. > +Please refer to :doc:`../linux_gsg/build_dpdk` for generic details on > compiling DPDK with meson. > + > +In order to enable ``PMU`` based ``rte_rdtsc()``, user needs to > +configure the build with ``-Dc_args=3D'-DRTE_ARM_EAL_RDTSC_USE_PMU'``. > + > +Example: > + > +.. code-block:: console > + > + meson --cross config/arm/arm64_armv8_linux_gcc > + -Dc_args=3D'-DRTE_ARM_EAL_RDTSC_USE_PMU' build >=20 > .. warning:: >=20 > -- > 2.32.0 Acked-by: Ruifeng Wang