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 A6A74439B6; Wed, 24 Jan 2024 15:39:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C73242DEE; Wed, 24 Jan 2024 15:39:32 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id A806E40E0F for ; Wed, 24 Jan 2024 15:39:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706107165; x=1737643165; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=gfTY13pOjrTbR+S8OP+PZCgVcjRaSxgXozCX4qt2mOg=; b=AiDjnMATT0Y9FUos01/SMIe1t0XR20TP8ee+IcHjVIPwhOSznd8qBZ3+ vrBg/2nPsi6XsX92aqhAZ5yuswaFHgKEqIZzmBIpC8bxanlGXjfuIm7xA T2uP1uBy/gQStoEzXOkCnaV2ZUzr0C5knTpc1K2MHcl1ofN5REXczO/Cp iIJVNIa1ePYN1r6AvAkmQ9c0aLH9fA2iXjSZ28J+AYKqn5QHdbZPomj/i /PUz4mlt+fHHro/QeCSaSiZq5O+1u0ZCCgnekyds+jkszUolQNlR8+YgF nT2XKquccSNkGJSvcUzO3ZcZoLrFhQApJpkHIXc5ZtNHez6sU2r/TSO7Z g==; X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="1751207" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="1751207" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2024 06:39:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="820483796" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="820483796" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 24 Jan 2024 06:39:15 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 24 Jan 2024 06:39:15 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 24 Jan 2024 06:39:14 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 24 Jan 2024 06:39:14 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 24 Jan 2024 06:39:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=faGGqXinF8QaP3oQR0fHGfdrkco5SnLYFcXsPkMNBFZupGGgm0KnLpWqiPqF1VN0C+H/1WMwu8DxWWVgUV6jG0+1/MW4LBSNK4R3QCWY7xdWUBYlKNJeR7lrVI268fDMczFHfsEbgafniHepMoeXIcs9G13tF0FF1DYB9KdSS0Jm/l46sY+OjBSgi5UtyOyVU9zIlLYRKiz3G6N8BCwfgZ9zh7dzgfqTc078PDijenDxKk0aWi3GD257FIicOGLl80j4pCIGIgZ594KPMCgiVLQLNvPaQt8hSt3x0dyDwNZAlarHsF8RoWRraDQALaByvsamZCp9ZTEvK5jRzKvvKw== 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=yIKcIarBjYoGQNRtOsZLV9Q/kkf9arNSyEmi3WlOVkE=; b=Jkm7MdRWTaCLo7XVvg1FQFbIBfSAP/l/KRoERf46hCBehf/Ady95tpMemUV1Bnrly2dxZYXULWG95psN220FrC3VJKqbuMMC9pL6kVV73kdsBlHLJRmJN6anAl1QcaCr8zPVqskQ+0dqhyoPVO5c052nuD9Wib6LIql/rZbaWPdOWIWTuzKwjLAuorOj1WvVh96keMDaf+KitiJ5sFoXWoF6CTS7znNIYAPNpZBcyHgA0QYqOqPAAVsXrNhLQpheEHDrOoRA77jflCUaR2pQjCR/Pj7JRcf106FAHdaPPIkrjuM4Y6z/vaF39jz8NT8TgyzS6L0ou3K5rBDjqUvB2w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7639.namprd11.prod.outlook.com (2603:10b6:806:32a::14) by CH3PR11MB8774.namprd11.prod.outlook.com (2603:10b6:610:1cd::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.37; Wed, 24 Jan 2024 14:39:10 +0000 Received: from SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::8a06:eadf:e98b:23ad]) by SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::8a06:eadf:e98b:23ad%2]) with mapi id 15.20.7228.022; Wed, 24 Jan 2024 14:39:10 +0000 From: "Power, Ciara" To: "Marchand, David" , "dev@dpdk.org" CC: Thomas Monjalon , Chengwen Feng , "Laatz, Kevin" , "Richardson, Bruce" , Elena Agostini , Jerin Jacob , Kiran Kumar K , Nithin Dabilpuram , "Yan, Zhirun" , Pavan Nikhilesh , Maxime Coquelin , Chenbo Xia , Andrew Rybchenko Subject: RE: [PATCH] lib: remove duplicate prefix in logs Thread-Topic: [PATCH] lib: remove duplicate prefix in logs Thread-Index: AQHaTr2iHR5ag3wWlU+ZyLOKiblYdLDpCDXg Date: Wed, 24 Jan 2024 14:39:10 +0000 Message-ID: References: <20240124120450.546364-1-david.marchand@redhat.com> In-Reply-To: <20240124120450.546364-1-david.marchand@redhat.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7639:EE_|CH3PR11MB8774:EE_ x-ms-office365-filtering-correlation-id: 172a8e95-0244-4643-4e78-08dc1cea3a04 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ocXvlTArhMpUsTInabpyCfGGjYkJ2PiWc1IKflbVkA65ixLTgFlyPXUyJNT+6N6YQA+oUMRucxBKta93vwUTAkB1Tg0PUE8JOmV3gP+bwbgfsZleXr3d1CHo2i0KuRHPaZ5BkygrZpjLTXgAvfSgJhDO16Fjpsb4wkzan9KGWpJ6eIjPvGZJdzMbAZtXPR8m5gO8GpPEqQFWWSj98cbHYgHdff3l0Wkbt1OnvuyLvyf2qlZUL4WIgeSk84AQ1EUjX/hG/Vo+IMNlzWAznOakNTXBW8ZR7XJ27jMHI5N/2x35HsKjhkKmP3y9zUXJMhxA1TM5RirSRhI4otwcUc6odwzZbnw3UJTcTxkU9ArueI8vjBRhjHdTrC0SB9EcQwFm9x5WUoWkH+APev91auxAYtGVanOdPed0Fh27Uw5ksSP+p/5ZLTvjw5mnuqhAAAZYyxhwN5Ik01UEH+f6PP/nvCzT3l7Z7tLdiBYmRF8f8Tm77Ja/3DuMvqxgOG6gV8JiDgZDM3dKNWzae76Bg3xepQOFFJeA8NGUMtlu6gMO+PKboHM8EmpRfdk9cYswwPR9hvh0pF6IMQ2t2Uxzi53NC7+kP3qOkiQGKvnwS5IgGt0lcFkanUOMvDXnVWYqg7BB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7639.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(346002)(39860400002)(136003)(366004)(396003)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(2906002)(9686003)(26005)(86362001)(122000001)(8676002)(8936002)(478600001)(4326008)(55016003)(38070700009)(41300700001)(52536014)(38100700002)(71200400001)(82960400001)(83380400001)(66946007)(66556008)(66446008)(316002)(66476007)(64756008)(54906003)(7696005)(53546011)(33656002)(5660300002)(110136005)(7416002)(6506007)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YP7ebSN20+oHLUoWc/eEfDigqnKzQFywEDV1YpwBZu8NOUIqlBQNbEDCGWuw?= =?us-ascii?Q?1ucT2UEdA2rsmuFv2fu8MZHpue5uaWwZDhXcjByjcctB2MU9N5rP4460OJAM?= =?us-ascii?Q?45Nellim+tlFcHmbxNx2oXD3GXLPfiEdDXkTEml6MnrTdEFyY3NtScz/69pE?= =?us-ascii?Q?mhcDslCY+PG9ymMAQ4LsEbyHr/k+TqZnCw3ScxDfRXXuGwHVtsDnvxgLOZ2t?= =?us-ascii?Q?BAWGW38ENdo4rfTYOlTGAGlDWeMcw/gtp764hEe6G95JqV9qzRGlQgGLUA8D?= =?us-ascii?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87h6iynN5aDHzeY2eY?= =?us-ascii?Q?H4hwxOuSoYJc2LuzdsTeWfPe+yieA5PMp4tHKI1d0cmnB/Oz0wwA2pCMtIjl?= =?us-ascii?Q?3di611rrxjEv5NEBASueIkUwp+c1hZ9j0Z/0JpHMv7jxXHu00dSgCwbMVx0z?= =?us-ascii?Q?Hh/JS+igjCuR5Qwj+5DmPJVunMzIgdk4M9MIjp9uWXw0k0gxJ9OrcNzZuYt7?= =?us-ascii?Q?kc9gwYwB2SKPYCuNb/Ccq+pysMEoBcQnaI29gyw96AgmC4JRwnESGrZl9Ica?= =?us-ascii?Q?hpTb3BDg6HQPUuK2ajTfzY0b/y3cEhXpTDsbUKaFiuZihyHtqlehiMwoI9t3?= =?us-ascii?Q?x1GZkaDm35O7Fg8cNZU/woVgZRzMcVt0RxaTOsEXvh0ByV9tMz3VNVmadgjQ?= =?us-ascii?Q?cZ32+5FgwLaNu8qrfkdfH5EFVNdDDR4W8edbpA0T?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7639.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 172a8e95-0244-4643-4e78-08dc1cea3a04 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2024 14:39:10.0417 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: k7Q9OxAHK23qAr7Z352Ax8mVA/Pu4RKcyMzZOrP2M40GuHZ+TEJDKUtS7ebypQ27HXG9gmWzHuFfIQeBHe30gA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8774 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: David Marchand > Sent: Wednesday, January 24, 2024 12:05 PM > To: dev@dpdk.org > Cc: Thomas Monjalon ; Chengwen Feng > ; Laatz, Kevin ; > Richardson, Bruce ; Elena Agostini > ; Jerin Jacob ; Kiran Kumar K > ; Nithin Dabilpuram > ; Yan, Zhirun ; Pavan > Nikhilesh ; Power, Ciara > ; Maxime Coquelin > ; Chenbo Xia ; > Andrew Rybchenko > Subject: [PATCH] lib: remove duplicate prefix in logs >=20 > RTE_LOG() macros prefixe the log messages based on the logtype. > This results in logs like: >=20 > TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...' > TMTY: TELEMETRY: Socket creation and binding ok > TMTY: TELEMETRY: Telemetry initialized ok >=20 > Remove redundancy in some libraries following their conversion to > RTE_LOG/RTE_LOG_LINE. >=20 > Fixes: 97433132c2ed ("lib: use per line logging in helpers") > Fixes: 0e21c7c07d62 ("lib: replace logging helpers") >=20 > Reported-by: Thomas Monjalon > Signed-off-by: David Marchand > --- > lib/dmadev/rte_dmadev.c | 3 +-- > lib/gpudev/gpudev.c | 3 +-- > lib/graph/graph_private.h | 2 +- > lib/node/node_private.h | 2 +- > lib/telemetry/telemetry.c | 4 ++-- > lib/vhost/vhost.h | 6 +++--- > 6 files changed, 9 insertions(+), 11 deletions(-) >=20 Acked-by: Ciara Power