From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7C5AA0583; Thu, 19 Mar 2020 11:43:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76205F94; Thu, 19 Mar 2020 11:43:05 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50068.outbound.protection.outlook.com [40.107.5.68]) by dpdk.org (Postfix) with ESMTP id E1863F90 for ; Thu, 19 Mar 2020 11:43:03 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iOYtK1aADK9QiS2KIU3ubJZazHy1VwXvkY1igo+jNB4nQu/357xvrYcCyxhSn9wU/PeDukK5AvBt8c6kpqZHMGll08Rn3XrI3FQKOWV61Eov7C/3U5YDP/whyxuJKMOGctgD3NWvxFRRXknMJxEkWSbs/dHih5w9L0xutitYJ7q6t/ukYbhS5xxnlLPHD2aCq3Fydd/fee2julno27sAbYv9Q5PmI9bMUaPNG+kja11iSoCBhOT8RoUk44oRQ7cobYT3Z+1nsoyH5n3KrntdordiW1ufPQiZo7mpfNAZhQ6GmTgB4sweelRbfUs1JhHxJBBy7Rn+2d3b+m3Q2NvetA== 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=awvxljOK89Ees1kHGEPiSqZS26e1R3L8CcsrFuqO9lo=; b=dWcV9lr1h3Tq+V0Sh6/w4Ycqq1jTXiVzRFSrHROI+1J6cV0VfTM26eoLL+j0RsLiyZmu6jO8LJVt5G1GmUeuHjnzbPqVWACJ8kO8O4tazF7lorlFLKD7YQ4Z64C7tJY1XfWfHLkHujNwDiOUPowgP0jIYyP1p19mO+vogv2x6NX5NKf0ixsH225Z/kwQQeCkADZQ6PrP8pwEZkAl86UeCL0s8HH1YwbZPeD3kDCgvDHRf8BBuxOf6G4NPO82dNwF7l9nbLu0PbBSCd22u92YhSmbx4M3XGUJhUzbwA1l2+rRx4epPRMVzuxILlqpzm+mJOq7b858/IoUZD2QHh8sUA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=awvxljOK89Ees1kHGEPiSqZS26e1R3L8CcsrFuqO9lo=; b=pomf4EDcPbtj1qOnQYMb4GCB+VWT4JJauIyU0iTfs7bHdQ7z0eslvPbfDdwVjl1uOhEAbGNXDzW6R/7oWya76r+jNK9qRytwHHeW9D2/8AVv5r9lIRx841Q9aezQJWNA0g4pTuXIssTp6fs8+VfCLRg/PJfmyADAoN9dJ+rkSQc= Received: from AM6PR07MB4069.eurprd07.prod.outlook.com (52.134.116.150) by AM6PR07MB5876.eurprd07.prod.outlook.com (20.177.189.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2835.12; Thu, 19 Mar 2020 10:43:03 +0000 Received: from AM6PR07MB4069.eurprd07.prod.outlook.com ([fe80::3571:9cc1:f037:cd3c]) by AM6PR07MB4069.eurprd07.prod.outlook.com ([fe80::3571:9cc1:f037:cd3c%7]) with mapi id 15.20.2835.017; Thu, 19 Mar 2020 10:43:03 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: "jerinj@marvell.com" , Sunil Kumar Kori CC: "dev@dpdk.org" , "thomas@monjalon.net" , "bruce.richardson@intel.com" , "david.marchand@redhat.com" Thread-Topic: [dpdk-dev] [PATCH v1 06/32] eal/trace: get bootup timestamp for trace Thread-Index: AQHV/VgoUNEvmFVsP0eE4i1oW5H1NKhPu6KA Date: Thu, 19 Mar 2020 10:43:02 +0000 Message-ID: <4c4b1638-e339-4a39-eafe-7ec9317cc18f@ericsson.com> References: <20200318190241.3150971-1-jerinj@marvell.com> <20200318190241.3150971-7-jerinj@marvell.com> In-Reply-To: <20200318190241.3150971-7-jerinj@marvell.com> Accept-Language: sv-SE, en-US Content-Language: sv-SE X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=mattias.ronnblom@ericsson.com; x-originating-ip: [95.205.7.115] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a0e15922-ae61-44ee-c0bb-08d7cbf24cfe x-ms-traffictypediagnostic: AM6PR07MB5876: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-forefront-prvs: 0347410860 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39860400002)(136003)(396003)(346002)(376002)(199004)(6512007)(478600001)(6486002)(66556008)(316002)(64756008)(186003)(66446008)(66476007)(85202003)(110136005)(26005)(5660300002)(36756003)(54906003)(4326008)(8936002)(31696002)(8676002)(81156014)(81166006)(71200400001)(91956017)(2906002)(86362001)(6506007)(66946007)(85182001)(76116006)(53546011)(31686004)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR07MB5876; H:AM6PR07MB4069.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nppzOKtff9Onchc23NLDNWPZE+IGAYmcCd7AxMBvEkMS2brCy++/rmTc2uS+uGhrNe81SYHUrfd+hqR7wJKgRL7VCcEG0iQVD/XHAcyhrHD2rbLPhV/mRg52ji/2bN7sI7DE/wv6xV5YEJ0boX0STzzdfeBt2TX2yK/Mi5ooBogmso8i/cs0AdfjM2r4K6jtUi7zcALXG0YA4/rFQlr9maJOlZzAUWTPsjr4mx1azHD6qP2DPCyzUNjBEnFK2302YE/AMGTd8wImohKksD8Pivckn3ns/zzqo64ANvfajMGJE8/8VXwXqF6C4rNUFp/vyFh3y7+91Y64dITcZMwV1g9obgZibPCiqn39CWbpcgNP/kSJwRZtxtUevG4kcauNhhA9XwkUWgktlSz0Z4aiuPbm/FyxPvbW/wOqL9zPVtCVSpZ+427ntadSaXi/DEfA x-ms-exchange-antispam-messagedata: eS07TmDI/+eiUck/LJFQ29sEKtZoA5xH6xVpRbVD9bvYk2DASntz9OyqYhDMNzKP+3RCmQ3qZ22tGD2npgGbmQ+g2NEeylmubTgZYqLkLvtej/6jDPy2cQl9d5GaGy5zctmNfTMEsUTadFr6ULvFeQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <0BBD5BCE3D1D0A46BAB1A0E01A9B2812@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0e15922-ae61-44ee-c0bb-08d7cbf24cfe X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2020 10:43:02.9583 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fZpkPiEOP7p4viAqrWBGX7FmPhKuDyzmZ8hTkIz0xkerwPmybJPfhry2mHeblYpl73JxV8onIoPj0QV6hf+fA2B35GDL5i20brLzPCTRkgM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5876 Subject: Re: [dpdk-dev] [PATCH v1 06/32] eal/trace: get bootup timestamp for trace X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" T24gMjAyMC0wMy0xOCAyMDowMiwgamVyaW5qQG1hcnZlbGwuY29tIHdyb3RlOg0KPiBGcm9tOiBK ZXJpbiBKYWNvYiA8amVyaW5qQG1hcnZlbGwuY29tPg0KPg0KPiBGaW5kIGVwb2NoX3NlYywgZXBv Y2hfbnNlYyBhbmQgdXB0aW1lX3RpY2tzIHRpbWUgaW5mb3JtYXRpb24NCj4gb24gZWFsX3RyYWNl X2luaXQoKS9ib290dXAgdG8gZGVyaXZlIHRoZSB0aW1lIGluIHRoZSB0cmFjZS4NCj4NCj4gU2ln bmVkLW9mZi1ieTogSmVyaW4gSmFjb2IgPGplcmluakBtYXJ2ZWxsLmNvbT4NCj4gLS0tDQo+ICAg bGliL2xpYnJ0ZV9lYWwvY29tbW9uL2VhbF9jb21tb25fdHJhY2UuYyAgICAgIHwgIDMgKysrDQo+ ICAgLi4uL2NvbW1vbi9lYWxfY29tbW9uX3RyYWNlX3V0aWxzLmMgICAgICAgICAgIHwgMjIgKysr KysrKysrKysrKysrKysrKw0KPiAgIGxpYi9saWJydGVfZWFsL2NvbW1vbi9lYWxfdHJhY2UuaCAg ICAgICAgICAgICB8ICA1ICsrKysrDQo+ICAgMyBmaWxlcyBjaGFuZ2VkLCAzMCBpbnNlcnRpb25z KCspDQo+DQo+IGRpZmYgLS1naXQgYS9saWIvbGlicnRlX2VhbC9jb21tb24vZWFsX2NvbW1vbl90 cmFjZS5jIGIvbGliL2xpYnJ0ZV9lYWwvY29tbW9uL2VhbF9jb21tb25fdHJhY2UuYw0KPiBpbmRl eCBhYmIyMjFjZjMuLjUxYzRkZDU1MCAxMDA2NDQNCj4gLS0tIGEvbGliL2xpYnJ0ZV9lYWwvY29t bW9uL2VhbF9jb21tb25fdHJhY2UuYw0KPiArKysgYi9saW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