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 E6F96A0583; Thu, 19 Mar 2020 11:35:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 070E31515; Thu, 19 Mar 2020 11:35:44 +0100 (CET) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20058.outbound.protection.outlook.com [40.107.2.58]) by dpdk.org (Postfix) with ESMTP id 74773FEB for ; Thu, 19 Mar 2020 11:35:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SpbSucUyT2wZjqV6mZdJp/Xvsap29RN+ZxfSyqGmuXz7ZwLnR4Y+ZscRcM0n5oRgRXReP+WdpGPzwWx49WWftkgzrcDEJQe7xKtSfn0iq+f278ZXHcgcnFD9kRN0LNWN54juWq/uA6x2SwOrn8OpqaHw3xm6coaMoB1DwZs5nq/gx/EbVqIlwfuAnL4POfGeAw8n/SBXbN8fu1/BByCX/3Q5m6o/oNl24Lm8xMoLtxvs+OwIigzXfPilrPZkow5KqG2XVXVtZfiYHRkd/mqjHualWa6cWJcnWKoJLDC/WtpOWTId5Ye2YJxeo6dWuYH825XvZrdcxuTe5f3S9jG8kA== 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=hLGRcsR6GRIO8UMPVCOQTA/O+8il+ILU/qhySQzZUPw=; b=nujhqGKeCf9r8yKS7wXTQQGwRi2s+sY25QKE6QMRMlgaEpwNghpDEFF1D24jPM7wXQCtaCy1U4q12O/XqgDwmL4bBSvJW/RfCbImjesq88E0pcl8ib70wRVGlpYJx5NfGYWyiC8+TURy3upiNtYq9n/Z+2XsBz7S7YOjCBO65jt7GqBLH5+x8VqH1ygEHKW/o3dZyG56TaT+EouON/DTFFLVouYPHWSDJ4bInVZljZKtHpUofQ9mi1lazZ0/kYLroLkNQa3DcYgueUqY8Jnpq+NWKcBCmOdzg2QGb0cLMhaEeblVP1U6bXKNcgjB1PCQf26qHh84d0+1g49X8pBJ/w== 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=hLGRcsR6GRIO8UMPVCOQTA/O+8il+ILU/qhySQzZUPw=; b=p823qJUGrBhJ6ZWsvuWVMnJ4q0xK+fNLChcpFql/hG3N+eZY2ejNVPt2Rlvv+OFFBBI46cXMd1VrtN+vferBakmi9ewvJ4pwE7uWgLTLV7apx1YA+ap9awA3B7JtMC4PmehjsIuuwYhy6eNiM7dj2KhU0JqZYkAmNZHgSuOgRQw= Received: from AM6PR07MB4069.eurprd07.prod.outlook.com (52.134.116.150) by AM6PR07MB4914.eurprd07.prod.outlook.com (20.177.119.213) 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:35:41 +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:35:41 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: "jerinj@marvell.com" , Sunil Kumar Kori , Bruce Richardson CC: "dev@dpdk.org" , "thomas@monjalon.net" , "david.marchand@redhat.com" Thread-Topic: [dpdk-dev] [PATCH v1 05/32] eal/trace: add internal trace init and fini interface Thread-Index: AQHV/Vfk3wOwoDji+kOa7Q30Cj1LfKhPuZUA Date: Thu, 19 Mar 2020 10:35:41 +0000 Message-ID: <438b28d3-68dc-e55c-2ae2-2617451fa276@ericsson.com> References: <20200318190241.3150971-1-jerinj@marvell.com> <20200318190241.3150971-6-jerinj@marvell.com> In-Reply-To: <20200318190241.3150971-6-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: ecc54f90-3618-4503-24b8-08d7cbf145bd x-ms-traffictypediagnostic: AM6PR07MB4914: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:175; x-forefront-prvs: 0347410860 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(396003)(366004)(346002)(136003)(199004)(85182001)(30864003)(6506007)(110136005)(54906003)(316002)(6512007)(53546011)(2906002)(6486002)(5660300002)(2616005)(85202003)(81166006)(66946007)(478600001)(31686004)(4326008)(66446008)(71200400001)(86362001)(8936002)(66476007)(66556008)(64756008)(81156014)(31696002)(186003)(76116006)(91956017)(26005)(8676002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR07MB4914; 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: AzszkYuSx1p3MIqgbobDROhHCemqGsR3yKvv2fH7yL+ixlczR9o6LSWgkDHLpNyxF0pTefRzsoIXvBhao7oaDmiVTYglofjqZDdzVftPMtoumC9Z37XWjpJUF5xNyEqXzEJ905h6emezK/wgWXJuSW2cl1ncbZX0gD46N+00RygfJ7OTPop/tTIhE3AghtqrXUKIdnPN/ZOMKnBFbhg7HyIIJGXZhQKLIKZXBTpkzXdcc2Zr4u5mKIrjGi/IEjm5iKsnGyK9dQcEAoeHnaIwTAGXZJKJpFQFJ9m0E7KfYHZK5EafdZKjkq6o4YOBJKbWnmrdn4MNWjmyJNWMv1wbQrSoFynxb7ag/YHHGjZpEnzkGtuDcc8gvIUTlWf+4mPtvwVM/oEFzkP/DFOgdYfKUFVo0SwdGMOd5Cfhxs/0VYWtAzJa9FenSf6YgzTu5U4N x-ms-exchange-antispam-messagedata: Ta1xVvpQCsbyGh+zrtkXS7osnauV1aD+suGqAMj9018FxaBhJLYaES717snzwVnhtJ7YmF9cFSjsSuBEOU/pHTJBuRn76nmQQToMV3ktTngwKPhvUKuL2L2m5OiF3e4hop1JNkCSz2l5H/cAJMW+IQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-Network-Message-Id: ecc54f90-3618-4503-24b8-08d7cbf145bd X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2020 10:35:41.3215 (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: bd8lbXgipcWd1eX+pl+QVH4UI77hszpnSIvCBdtpPYcEbRNmlAsMEcvxeNIOxVA9KTqdpYfHyvOAYQKoj9TrDGRPWaol+qpnHB1QhEfk/Ig= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB4914 Subject: Re: [dpdk-dev] [PATCH v1 05/32] eal/trace: add internal trace init and fini interface 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 ZXJpbiBKYWNvYiA8amVyaW5qQG1hcnZlbGwuY29tPg0KPg0KPiBEZWZpbmUgZWFsX3RyYWNlX2lu aXQoKSBhbmQgZWFsX3RyYWNlX2ZpbmkoKSBFQUwgaW50ZXJmYWNlDQo+IGZ1bmN0aW9ucyB0aGF0 IHJ0ZV9lYWxfaW5pdCgpIGFuZCBydGVfZWFsX2NsZWFudXAoKSBmdW5jdGlvbiBjYW4gYmUNCj4g dXNlIHRvIGluaXRpYWxpemUgYW5kIGZpbmFsaXplIHRoZSB0cmFjZSBzdWJzeXN0ZW0uDQo+IGVh bF90cmFjZV9pbml0KCkgZnVuY3Rpb24gd2lsbCBhZGQgdGhlIGZvbGxvd2luZw0KPiBmdW5jdGlv bmFsaXR5IGlmIHRyYWNlIGlzIGVuYWJsZWQgdGhyb3VnaCBFQUwgY29tbWFuZCBsaW5lIHBhcmFt Lg0KPg0KPiAtIFRlc3QgZm9yIHRyYWNlIHJlZ2lzdHJhdGlvbiBmYWlsdXJlLg0KPiAtIFRlc3Qg Zm9yIGR1cGxpY2F0ZSB0cmFjZSBuYW1lIHJlZ2lzdHJhdGlvbg0KPiAtIEdlbmVyYXRlIFVVSUQg dmVyIDQuDQo+IC0gQ3JlYXRlIGEgdHJhY2UgZGlyZWN0b3J5DQo+DQo+IFNpZ25lZC1vZmYtYnk6 IEplcmluIEphY29iIDxqZXJpbmpAbWFydmVsbC5jb20+DQo+IFNpZ25lZC1vZmYtYnk6IFN1bmls IEt1bWFyIEtvcmkgPHNrb3JpQG1hcnZlbGwuY29tPg0KPiAtLS0NCj4gICBsaWIvbGlicnRlX2Vh bC9jb21tb24vZWFsX2NvbW1vbl90cmFjZS5jICAgICAgfCA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