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 821E441DFF; Tue, 7 Mar 2023 10:10:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C7B8410F9; Tue, 7 Mar 2023 10:10:35 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 50FFE4067E for ; Tue, 7 Mar 2023 10:10:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678180233; x=1709716233; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=nVfykIZCfajKMf5Z/vT7Min05dV33+CfgDcBoVi0wZM=; b=JNnzvZDxj1Mhk1MSkO9z+WK2YyVxwK7GaMHFu1YfIDFqfcFlOQeKRYnB WYqfEno6S2lk/YslmImV+FmQwYo4lB669xtKzk9btaHLXr+tcfNR4kzFH EVXPRSaHYJ/oBRDJy9evHkiyo/OM5YgJvih7E+lM8F4Pi1LCUI1FKA+t2 KzWT54an/WwkEUn19Naj+HvocDbrCGMOmz/zyvR9Ai7SSYzNzx3CJMdyy 6OkczeAvdeAdEYQt6b1QtV8LufPuX8S6ktuTCgkeCnsG/xZRFTfsZ5PSM 3VjE+w4cPET7ajBVpfEqi5TlepVU3tuXHtyuz2wVT27mw+Z+vszMIVi4g w==; X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="319634058" X-IronPort-AV: E=Sophos;i="5.98,240,1673942400"; d="scan'208";a="319634058" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2023 01:10:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="676500704" X-IronPort-AV: E=Sophos;i="5.98,240,1673942400"; d="scan'208";a="676500704" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga002.jf.intel.com with ESMTP; 07 Mar 2023 01:10:12 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 7 Mar 2023 01:10:11 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 7 Mar 2023 01:10:11 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Tue, 7 Mar 2023 01:10:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CG1fnSXEqnmO4dP0js5xV2slPa/MhQ2IeOm4eWFgGmSMrCanD2JHJrynsen8yzQ1i33WnDdwWUSU8ve4D9VjlNBBDejY+rTcSy3VbBA4EtOVmlYMvhwCMcqvvBNOKsOpkMpkQcd8bvULu5NcOqA+gyCFhEQg06OiVL3il/aG0vebiliUdmhn1JnCPtO/IDbRZQ3LPPnU+1r5BeFep6N6ReU9bKU6Fv/mL34QqeXOrRyWyznCK6GD3gYbLn4W0XYuXiDbe3QFBYq4Pur3Ko8TOI3c2cZJ8mOYTKuFh7ZOyfPiVFQt7h/KtOHTcl2epQ8ExFBN2iNc+vDJmEwQFQ4mTA== 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=U8GXsHov2kFcJJ2gA46ZCXKGz4rQW+RfFKiEzYuvkEc=; b=Zx9aOb7iwhFkDfnUDvF5JAOJm6K1gzjCLa7f/C4yxYc8bCKdornaAwlwsTrKpneI1j0oGAqFFs5lRCts3Tm29bVd+skgI3VAxC1gH/ZQ9g4npZ3aECkWYb0wOhJZ+oiuq+xB3PDBrG01g1J9i8/G89TTG9YPrf3eykZX7HefRCT/znKttQqN63eAkF+bkjwx0EgOO6tjIW308Dz4OrVBD7wjXlX9HJoMQGPp6mbVRxbADRNKoI70ODVXPCVnlF8hzJKImiEWpIQxVAns5LVHnQfdpjzFKEk0YffVe5QZKHAK60+9J5BlXhITuMPzFwV34MHoq/LAk60/kkmiQdHTHQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CY8PR11MB7290.namprd11.prod.outlook.com (2603:10b6:930:9a::6) by DS0PR11MB7787.namprd11.prod.outlook.com (2603:10b6:8:de::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.28; Tue, 7 Mar 2023 09:10:05 +0000 Received: from CY8PR11MB7290.namprd11.prod.outlook.com ([fe80::c8cb:dd5b:784c:8415]) by CY8PR11MB7290.namprd11.prod.outlook.com ([fe80::c8cb:dd5b:784c:8415%8]) with mapi id 15.20.6156.028; Tue, 7 Mar 2023 09:10:05 +0000 Date: Tue, 7 Mar 2023 09:09:57 +0000 From: Bruce Richardson To: Stephen Hemminger CC: Subject: Re: [PATCH v2 0/2] Add option to timestamp console log Message-ID: References: <20200814173441.23086-1-stephen@networkplumber.org> <20230306181816.97243-1-stephen@networkplumber.org> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230306181816.97243-1-stephen@networkplumber.org> X-ClientProxiedBy: LO4P123CA0655.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:316::9) To CY8PR11MB7290.namprd11.prod.outlook.com (2603:10b6:930:9a::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PR11MB7290:EE_|DS0PR11MB7787:EE_ X-MS-Office365-Filtering-Correlation-Id: c9f0efc0-0322-4146-0561-08db1eebbd47 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v/BJFuDmwQIHAg2sAg9M8qCkG8eyF1z35N1kp3kEFakRhfxj+PSH0r3/0R9PLPr9ZE0BwB434dB2H2oBCAuW//hNCT6JI+ADw2VE1k98ncwM8Kae5wK0lrHIzQqpV+S74nhCUCL47t/SW3M53Ks8+rkiLdL8Acom98ZdIaqHWI4TDq5IyhAShSMjILqM+yTwzeIMlGPzZJOSzZHEcE9L8FQFNaabhukoQu/FgHXyrCbuHcNolVi+ZcPIl58+FYMwl2OuUj6U2SxCXJw93VZTeg6KWAFQQHzAgBX4TH1WSb+/Ch3K2kqEltrSHFcwlh21vHU/SbKAymwv+GLMWgh4t1amK9y4bk/3KXruEWZATQwlZq2Hdz1BhP6nVp/Fxz02d8kuVYZk3giEwi97ZUWDXBImOaoLFjLSMqq12OWpgWGZcNXXCzujIjAWa2V4osb3fC4PxDv2M1FXkqoy+Lb8gaUr+EuXeo7o+EASm9D5h9C6LlC1u36s53kGEEPgL1vLC9LmvABYh+i/u7m2P3Gi7FxKpDaWDWfOVFl1/+8wd1KtBLrKfVfdgn8cv31p9ncVBrZcwy+0p9QII3NIqnw6MMwHX6vDYGqa/EwKfioQ9j6xHiOyQo71UJfsGBF2+lNKlIi4j1OmztToXF/yE2JdJQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY8PR11MB7290.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(396003)(39860400002)(346002)(376002)(136003)(366004)(451199018)(4326008)(66946007)(66556008)(8936002)(41300700001)(6916009)(66476007)(8676002)(44832011)(4744005)(2906002)(5660300002)(86362001)(82960400001)(38100700002)(6666004)(26005)(6486002)(478600001)(316002)(6506007)(83380400001)(6512007)(186003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?dkbbCC/S2L3H5QWRzTToz+l5P5NKHxfnF0dSiBueZHJjGOB7d90TUT5Y5tSn?= =?us-ascii?Q?Ltwu00sOuq7FzVz2JazmOXW0ttA/caexkuShSVwFRWASCYIVuxnzhgn+PuHc?= =?us-ascii?Q?+jPZfDYRc/S3b+/PQziYCNgSjWqP7VrJbJHPoDZRxYVs8MbcTu5GXEKD6DU0?= =?us-ascii?Q?9DPzJXEzuVRZTCXeS57q1V9YSzoertuYLQOi39kRCDItusIDbSrK7Tjqh3ep?= =?us-ascii?Q?poYV0nKBwEd/I/HVXzJ3KOeTVRqANf9egsmxVYfzAC9RGX3Lxyo5Z7ly/wCF?= =?us-ascii?Q?gPRSjvcxEoxA2cW1Z01FfYiJLmt4WuFzZmgK9ItSSFRcffw91t9tarIfLv3V?= =?us-ascii?Q?YD41vhNF0cYE28p9fW404wHBMX3YpYUX9Gh/4P5CPE+kNEFaSL+a17kSB42c?= =?us-ascii?Q?/0cs6jKv6l0TVfRIPYy7Lw3wYsPi9Tf1bJm/aATFX0l3fSPNbYdp8l1kfsE0?= =?us-ascii?Q?CUl1yZL7BggjMcNWuQVIEhBE4cqvO2scuSjX3B/OPm7Isem437vxYUZ9dFgO?= =?us-ascii?Q?5cUANZoLI5bJRMs/QK+fiGt79xxWuJNqBoHJ37MxIx38shLbZ37MmHqlxov6?= =?us-ascii?Q?uZFhPIlN29FJIX8szilGF/a9bCWq0QIM03m5vkM+8pryvuE4JCC4Je7eSiXO?= =?us-ascii?Q?dPUG98cGRIq4U2IUYtn8qZKkvuOqVUA5MCKHENphYVSQXshM3mWw9e1sVZ1R?= =?us-ascii?Q?cmPgmC6+DU3mE43WjeBqUlZJc3Vxy5ZYTNQH2tgSQvbF2kKpSIr8hfFg7xtY?= =?us-ascii?Q?x88kS1GbngebpRLbKnfVdKLZCuJ6/a8JZv3wcxpwIMGY8cG+skmQ7kDo3VQj?= =?us-ascii?Q?ct6zGG2xGvb+llvluWsQtYSTIELuCwWP56zaZtzeAh1clySvKN+j/PcFM6HC?= =?us-ascii?Q?UVJUSpALFuBdStqWHLIyTIOochTHfb3xUJOHVesNhw5LiODb87NhuKVWZJrD?= =?us-ascii?Q?1ODCuu6V/f3qs2qoetkJar3kiBh7P218Ey/RGkpY8pg9Au4Gq/a0DkyJU5dG?= =?us-ascii?Q?8w0essIIWa/+I6rOcweAkURhdH+1T6zRSdbQKRybtZmUL5abMJ4uSX7wUE/a?= =?us-ascii?Q?5EtKJIEzuPDLJzBeKLEGv9gmOAtmSK9gGairEWHnKtMNivoXlIbaLFd976rg?= =?us-ascii?Q?S2dBz4K3BfvZyp4pCtSE8y+kSfKBAhaTZmKxzYBXEHdi37ZtYJWx2H6c3la6?= =?us-ascii?Q?+26QAgiJJJ0ZHBm3yuN3gcQhUXN/8CnhfmNRLpk4rG5FXQkBDL4AJuKARBlJ?= =?us-ascii?Q?PxlnVkubjxKTll0nRAL24Pkc1zZ2lhKh9W3rgjCXah8Oj/YuFVv51qAZlw4d?= =?us-ascii?Q?9UwGylXvFkBunCYSnT8la0pvaF7hseqjq2znpbpRg43Fq48bbOFDDffnPm2r?= =?us-ascii?Q?u+MGIvM899szHnid2iwP7OphlRTmm7fsGTMG2Sv0fp4cRlPrcPi02qu9IODc?= =?us-ascii?Q?40QILloLJecGFQDWGota8k2FEGRlfXKOLPN4a4Yq02qE96e/dsuyb3aFgFpa?= =?us-ascii?Q?4wveTzkp+Yi83317v2HWS0+mxlRZEQ60ebe1XerJJO8hQQhCBbMcnuO9vOsf?= =?us-ascii?Q?eOUJBx42QgLcC0mxen/0CSwJ9OG7BPESI0/pqHVaSBYVGkWn0v5KWbivaXSb?= =?us-ascii?Q?2A=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: c9f0efc0-0322-4146-0561-08db1eebbd47 X-MS-Exchange-CrossTenant-AuthSource: CY8PR11MB7290.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2023 09:10:04.6472 (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: mX8tHIvkf309OBXkprV2b0gNKPVP2mmwLN4zTfdjcoBObyB4pnpio3JqAfxCrIFPwVzFc81rrsnUS7y7Om/0PrtwbhFpJ+YAV+PmiwYCLnQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7787 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 On Mon, Mar 06, 2023 at 10:18:14AM -0800, Stephen Hemminger wrote: > This is a reprise of earlier patch to add timestamp to console > messages. > > Example: > # dpdk-testpmd -l 1-4 -n 4 --vdev net_null0 --log-timestamp -- -i > EAL: Detected CPU lcores: 16 > EAL: Detected NUMA nodes: 1 > EAL: Detected static linkage of DPDK > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Selected IOVA mode 'VA' > Interactive-mode selected > [ 0.191407] testpmd: create a new mbuf pool : n=171456, size=2176, socket=0 > [ 0.191510] testpmd: preferred mempool ops selected: ring_mp_mc > > > v2 > - rebase to current DPDK > - make linux log code common to freebsd > > Stephen Hemminger (2): > eal: unify logging code for FreeBsd and Linux > eal: add option to put timestamp on console output > Series-acked-by: Bruce Richardson