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 8201F43D06; Wed, 20 Mar 2024 18:38:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FF5A40ED3; Wed, 20 Mar 2024 18:38:39 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id E740940ED3 for ; Wed, 20 Mar 2024 18:38:37 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id C773320C80; Wed, 20 Mar 2024 18:38:37 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH v9 5/5] eal: add option to put timestamp on console output Date: Wed, 20 Mar 2024 18:38:36 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F317@smartserver.smartshare.dk> In-Reply-To: <20240320073853.3bf06e51@hermes.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v9 5/5] eal: add option to put timestamp on console output Thread-Index: Adp61Ffln/P6kpzHRGOiDis+32yXcQAF9HQw References: <20200814173441.23086-1-stephen@networkplumber.org><20240318220432.7486-1-stephen@networkplumber.org><20240318220432.7486-6-stephen@networkplumber.org><98CBD80474FA8B44BF855DF32C47DC35E9F2FE@smartserver.smartshare.dk><20240319085136.1d4e2897@hermes.local><98CBD80474FA8B44BF855DF32C47DC35E9F30C@smartserver.smartshare.dk><20240319203352.1d58cec5@hermes.local><98CBD80474FA8B44BF855DF32C47DC35E9F310@smartserver.smartshare.dk> <20240320073853.3bf06e51@hermes.local> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Stephen Hemminger" Cc: 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 PiBGcm9tOiBTdGVwaGVuIEhlbW1pbmdlciBbbWFpbHRvOnN0ZXBoZW5AbmV0d29ya3BsdW1iZXIu b3JnXQ0KPiBTZW50OiBXZWRuZXNkYXksIDIwIE1hcmNoIDIwMjQgMTUuMzkNCj4gDQo+IE9uIFdl ZCwgMjAgTWFyIDIwMjQgMDk6MzQ6MjEgKzAxMDANCj4gTW9ydGVuIEJyw7hydXAgPG1iQHNtYXJ0 c2hhcmVzeXN0ZW1zLmNvbT4gd3JvdGU6DQo+IA0KPiA+ID4gRnJvbTogU3RlcGhlbiBIZW1taW5n ZXIgW21haWx0bzpzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZ10NCj4gPiA+IFNlbnQ6IFdlZG5l c2RheSwgMjAgTWFyY2ggMjAyNCAwNC4zNA0KPiA+ID4NCj4gPiA+IE9uIFR1ZSwgMTkgTWFyIDIw MjQgMTc6MTM6MzUgKzAxMDANCj4gPiA+IE1vcnRlbiBCcsO4cnVwIDxtYkBzbWFydHNoYXJlc3lz dGVtcy5jb20+IHdyb3RlOg0KPiA+ID4NCj4gPiA+ID4gPiBGcm9tOiBTdGVwaGVuIEhlbW1pbmdl ciBbbWFpbHRvOnN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnXQ0KPiA+ID4gPiA+IFNlbnQ6IFR1 ZXNkYXksIDE5IE1hcmNoIDIwMjQgMTYuNTINCj4gPiA+ID4gPg0KPiA+ID4gPiA+IE9uIFR1ZSwg MTkgTWFyIDIwMjQgMDg6Mzc6MzAgKzAxMDANCj4gPiA+ID4gPiBNb3J0ZW4gQnLDuHJ1cCA8bWJA c21hcnRzaGFyZXN5c3RlbXMuY29tPiB3cm90ZToNCj4gPiA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