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 7DF66A0547 for ; Wed, 12 Oct 2022 11:08:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7646142D86; Wed, 12 Oct 2022 11:08:35 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CDB5142D6E; Wed, 12 Oct 2022 11:08:33 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29C8enVV010961; Wed, 12 Oct 2022 02:08:33 -0700 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2174.outbound.protection.outlook.com [104.47.55.174]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k5t92r30d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Oct 2022 02:08:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wnu5cLNTUqCf+z8CkRcM8Kfvac9Q8Rom9PNvpnHz1iPC0IkHkUXTHhl+EIm3NJv/OQFnZTPylCf9s8Q+SkVeWS2D1cc3mJd/stqI6sDQPnrx3Xjax/NXJEp/gpCpGvgySS2ojXQnCBJrXaF0b00q2vG1jXiIX49JbreW0QrHpOI3Bxdtp9AIkyZboQ11CWLmA5bB+cFWE/Bg4NaDTeSVJRDYvsmq/yZAlSIqgM4XBOXHW7+VCJipGD7f2YINmJr4C/wx1btblDioNehFedRcduf7YEkbHc5rwOdg6F70o7g8kaV3N/SO17HJUnN8oL9qt0HCOPY+57xYHVtNrtPc/w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TurbXLImEYmOK6R1rg1/U0t/3fGs+dX7kx1xXS+ICRc=; b=e3aGXP6nnisO6mxvBQznoSFIt3nx3xKk10mpyM5ztVV1eAAR72id44wj2U2QF01XfXfhKXfqqw1klgtcqgJ3YNzzyPHjglFO1pnjxv3ATGWkFH2CdQyQoJdh7hg0m1qHvLLpemahrrGWvW3WGZ3OY5IpnEo1PfOtqgPd7u8CCoEGT6RzkwCa1mXyepeURCjbLN3DQu25A7yFy2E8tvQjJ70VQPTnZn1dxaFg6+UAYp1YquJGAH3T8p2NfPYhrGm9keUJryWNc/z+0q5NnTUIA/iQo8xDwbm7qpypgTj0womD2lI475a0Xm8nkXeabeMKx3GS2F637LRVhE/UMG9oxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TurbXLImEYmOK6R1rg1/U0t/3fGs+dX7kx1xXS+ICRc=; b=mrZPhRifCw682QCwugq6Oy0Xzsqu7fyCIqOmamVuwYWXi9rgkXo0KCVW0wQXW6m0B48FZZ4XRIiFXz+wSHCMonZHHWSfSvilYnyzcGGWxiR/4eT+oTSxKtZjZbzMWWnCa7inTdeSqwunukqHaYOuOZIjBV6H9sk49c/8Kt16PvM= Received: from CO6PR18MB3860.namprd18.prod.outlook.com (2603:10b6:5:34d::12) by SA0PR18MB3661.namprd18.prod.outlook.com (2603:10b6:806:93::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Wed, 12 Oct 2022 09:08:00 +0000 Received: from CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::50c6:106e:b9d9:4436]) by CO6PR18MB3860.namprd18.prod.outlook.com ([fe80::50c6:106e:b9d9:4436%7]) with mapi id 15.20.5676.044; Wed, 12 Oct 2022 09:08:00 +0000 From: Sunil Kumar Kori To: David Marchand , "dev@dpdk.org" CC: "skori@mavell.com" , Jerin Jacob Kollanukkaran , "stable@dpdk.org" Subject: RE: [EXT] [PATCH v2 2/9] trace: fix mode change Thread-Topic: [EXT] [PATCH v2 2/9] trace: fix mode change Thread-Index: AQHY19X1Zh7Scc+kaUWbHJr2QwrHcq4KhFrA Date: Wed, 12 Oct 2022 09:07:59 +0000 Message-ID: References: <20220921120359.2201131-1-david.marchand@redhat.com> <20221004094418.196544-1-david.marchand@redhat.com> <20221004094418.196544-3-david.marchand@redhat.com> In-Reply-To: <20221004094418.196544-3-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc2tvcmlcYXBw?= =?us-ascii?Q?ZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRiYTI5?= =?us-ascii?Q?ZTM1Ylxtc2dzXG1zZy01Y2FlZjE4NS00YTBkLTExZWQtYjZiZS05NGU2Zjc5?= =?us-ascii?Q?MjY4OTBcYW1lLXRlc3RcNWNhZWYxODctNGEwZC0xMWVkLWI2YmUtOTRlNmY3?= =?us-ascii?Q?OTI2ODkwYm9keS50eHQiIHN6PSIxODg2IiB0PSIxMzMxMDAzOTI3Nzg1Njkz?= =?us-ascii?Q?OTQiIGg9InN1cjIvT1VWcmJxWHV1b042L2R5cWVnWHdiTT0iIGlkPSIiIGJs?= =?us-asc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UJ5QUcwQWFRQnVBSFVBY3dBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= =?us-ascii?Q?QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFB?= x-dg-reftwo: QUFBQUFBQUFBQkFBQUFBQUFBQUFJQUFBQUFBQT09Ii8+PC9tZXRhPg== x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB3860:EE_|SA0PR18MB3661:EE_ x-ms-office365-filtering-correlation-id: a4b703b5-4dae-49b8-692c-08daac3142c7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ovP8buptW2qbZoXsMg1PFmLLkpdarym2mIwBiKaVUT6Xd34zZa+76JgvYzkhB60ryoDc8uxgHzgVln9MMrTHU+ZZXfAa9eUwLEmIhxyG7ZKneKz9+styLG1jwk/m4iTJUzfrcX+VonitsuB//ss/mwOsmMMpqbSyjJUG8IvBERcthO6MJgCxQULo2jnwfLLc5YXDDgv2oPkbFi25CpsIQof2SJcimJdA/aIR1rZ2XZh9t0b5pD8mR6JyXQMCAaxHfFkTEprZSt4juHbIj54TrZQzhdipy/Jz4+iVOhNiXnaYuLFyIQgdhaVnrUL5zSt0NymU2SDgHB0UDA7FGG0j1gSHzGFo7xOP0UL6qz/Scq0nBCMDyBYXtGasWZreDtvFD17K3bernFqETHxOKK+Ktx67UQ6wJfSDwEDdLN9YGb8OHynOfzNNivH0xyd07zpeIsc9dKICHP4BZ/VLk/KGSWYmjlsvwkQnSqVFNgGrBsx0b4mNNZICYSRS52LG50AorBKAZ8gPMVUbK1xGgOhQB3dtj4hS9R62URSCU2ZNKFfsxNMtgfKNCjg0hYhiX/nlYqOgeJfMJzpdKa404Y8rHEJBpFOzjnsbSmd7UwktmLpZkaE99HtFj+aDDa/DAcbeu0h1nDrkV/Uot5szyI4dvPnwe7k0xxXR5aMrckclCqxuW25FjiAHshW9TpSFlmcYawCMelskWS21pixVHhszuBhGNibRdZrkV8CpuGuc1ptk5uWEUO/isAPRvT3kli+pcFDwX0V+Twir9XOho1Ie4A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB3860.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(39860400002)(136003)(396003)(376002)(346002)(451199015)(5660300002)(52536014)(8936002)(86362001)(2906002)(7696005)(6506007)(186003)(41300700001)(83380400001)(64756008)(66476007)(66556008)(53546011)(4326008)(66446008)(54906003)(110136005)(26005)(66946007)(316002)(8676002)(76116006)(38070700005)(122000001)(478600001)(71200400001)(38100700002)(9686003)(55016003)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?U+zQ2/hsXqlFyAWUmhHa9H4GxTMg/qqkUpUoU7ATmeoF1RtyALrXFvtQO7I+?= =?us-ascii?Q?H+asx7wmPlWe+s52TAfrpynKXdDy6GVTCUke/A7JEyalfZpO94SI9wc0peDH?= =?us-ascii?Q?ZOzaMxxeCKKbkLKkng2pSrFCTcMBCe5XAa04EyfeiokLZBdMyvMfPVKbPkRo?= =?us-ascii?Q?T9nyV1n6nvE3Q1kdDo4wOoK7Km0Ioh6zhSraTKiQ1bcp241koCZD3QkYQNJ4?= =?us-ascii?Q?F6tAYvZcoCPNmf/Q5aqBkYu2HV75I01U/Q49IGiPf01NlQaGqs8wVJkx7KPJ?= =?us-ascii?Q?p6t214bcHuBP9mHTWDQtVQoJso+zW28CHQQfyDYk7jyS2ykwG6/nrhc19mhw?= =?us-ascii?Q?r1GlwivS/zryOO5Quf+mOnT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-ascii?Q?Nwb1F+ZMYBiewCYtexIXT7qc1mmJ4FzOziqdnRSG4OnM/PYF5WGy81lRrAuR?= =?us-ascii?Q?bNakAebV+dIrxoFLhGaxOP+FkLDAzdJqu9WziEDPxw0veoY+2CfGxCuSXeFs?= =?us-ascii?Q?0xePXKVm8mn3FFgA85CnEswSThIQ5AIxZwkkhvvjshCZs7PWvNQyGkCCd63K?= =?us-ascii?Q?ULRsksB+K+SCfD2rwfO8nm0xScd1UhSjhq0eDEZr8nZ+A8Rcmd16XKIE/ko6?= =?us-ascii?Q?nGxVWoBHFG8GkgvoDvhyYz73/KZEp/kV1qZl3c/sydK4hhWJGvkJM73qYD7q?= =?us-ascii?Q?uZKcS6tamaoWrIrL4YcebV4jESSR185kCGCzz4gu?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB3860.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4b703b5-4dae-49b8-692c-08daac3142c7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2022 09:07:59.9930 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: aeKx62eO4+jHXxyQDNjVSlTFnT17uUSRyRGzoZXcSeaApqjA8810eGWPcomrFJWabhR7zaYEo+Lb3Bw9oN/yEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR18MB3661 X-Proofpoint-GUID: Q1ouNPtH6uD3a4ihAdgDmFLNyV3rPU_7 X-Proofpoint-ORIG-GUID: Q1ouNPtH6uD3a4ihAdgDmFLNyV3rPU_7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-12_04,2022-10-11_02,2022-06-22_01 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: David Marchand > Sent: Tuesday, October 4, 2022 3:14 PM > To: dev@dpdk.org > Cc: skori@mavell.com; Jerin Jacob Kollanukkaran ; > stable@dpdk.org; Sunil Kumar Kori > Subject: [EXT] [PATCH v2 2/9] trace: fix mode change >=20 > External Email >=20 > ---------------------------------------------------------------------- > The API does not state that changing mode should be refused if no trace > point is enabled. Remove this limitation. >=20 > Fixes: 84c4fae4628f ("trace: implement operation APIs") > Cc: stable@dpdk.org >=20 > Signed-off-by: David Marchand > --- > app/test/test_trace.c | 3 --- > lib/eal/common/eal_common_trace.c | 3 --- > 2 files changed, 6 deletions(-) >=20 Acked-by: Sunil Kumar Kori > diff --git a/app/test/test_trace.c b/app/test/test_trace.c index > 76af79162b..44ac38a4fa 100644 > --- a/app/test/test_trace.c > +++ b/app/test/test_trace.c > @@ -126,9 +126,6 @@ test_trace_mode(void) >=20 > current =3D rte_trace_mode_get(); >=20 > - if (!rte_trace_is_enabled()) > - return TEST_SKIPPED; > - > rte_trace_mode_set(RTE_TRACE_MODE_DISCARD); > if (rte_trace_mode_get() !=3D RTE_TRACE_MODE_DISCARD) > goto failed; > diff --git a/lib/eal/common/eal_common_trace.c > b/lib/eal/common/eal_common_trace.c > index d5dbc7d667..1b86f5d2d2 100644 > --- a/lib/eal/common/eal_common_trace.c > +++ b/lib/eal/common/eal_common_trace.c > @@ -127,9 +127,6 @@ rte_trace_mode_set(enum rte_trace_mode mode) { > struct trace_point *tp; >=20 > - if (!rte_trace_is_enabled()) > - return; > - > STAILQ_FOREACH(tp, &tp_list, next) > trace_mode_set(tp->handle, mode); >=20 > -- > 2.37.3