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 3FD8445B04; Thu, 10 Oct 2024 14:48:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D481402ED; Thu, 10 Oct 2024 14:48:14 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id DC0AB402E8 for ; Thu, 10 Oct 2024 14:48:11 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id AC44520AD7; Thu, 10 Oct 2024 14:48:11 +0200 (CEST) Content-class: urn:content-classes:message Subject: RE: [EXTERNAL] Re: [PATCH v13 4/4] eal: add PMU support to tracing library MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Thu, 10 Oct 2024 14:48:10 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F7B7@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-TNEF-Correlator: Thread-Topic: [EXTERNAL] Re: [PATCH v13 4/4] eal: add PMU support to tracing library Thread-Index: AQHbGj2vQ2yL4Ou0nEK8TEfuuoVQ/rJ+XwcAgABVwgCAANhT4IAAYNmg References: <20240927220630.1802971-1-tduszynski@marvell.com> <20241009112308.2973903-1-tduszynski@marvell.com> <20241009112308.2973903-5-tduszynski@marvell.com> <98CBD80474FA8B44BF855DF32C47DC35E9F7A8@smartserver.smartshare.dk> <20241009105658.18926a17@hermes.local> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Tomasz Duszynski" , "Stephen Hemminger" Cc: "Jerin Jacob" , "Sunil Kumar Kori" , "Tyler Retzlaff" , , , , , , , , 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 PiBGcm9tOiBUb21hc3ogRHVzenluc2tpIFttYWlsdG86dGR1c3p5bnNraUBtYXJ2ZWxsLmNvbV0N Cj4gU2VudDogVGh1cnNkYXksIDEwIE9jdG9iZXIgMjAyNCAwOS4yNA0KPiANCj4gPk9uIFdlZCwg OSBPY3QgMjAyNCAxNDo1MDowMiArMDIwMA0KPiA+TW9ydGVuIEJyw7hydXAgPG1iQHNtYXJ0c2hh cmVzeXN0ZW1zLmNvbT4gd3JvdGU6DQo+ID4NCj4gPj4gPiBGcm9tOiBUb21hc3ogRHVzenluc2tp IFttYWlsdG86dGR1c3p5bnNraUBtYXJ2ZWxsLmNvbV0NCj4gPj4gPiBTZW50OiBXZWRuZXNkYXks IDkgT2N0b2JlciAyMDI0IDEzLjIzDQo+ID4+ID4NCj4gPj4gPiArUE1VIHRyYWNlcG9pbnQNCj4g Pj4gPiArLS0tLS0tLS0tLS0tLS0NCj4gPj4gPiArDQo+ID4+ID4gK1BlcmZvcm1hbmNlIG1vbml0 b3JpbmcgdW5pdCAoUE1VKSBldmVudCB2YWx1ZXMgY2FuIGJlIHJlYWQgZnJvbQ0KPiA+PiA+IGhh cmR3YXJlDQo+ID4+ID4gK3JlZ2lzdGVycyB1c2luZyBwcmVkZWZpbmVkIGBgcnRlX3BtdV9yZWFk YGAgdHJhY2Vwb2ludC4NCj4gPj4gPiArDQo+ID4+ID4gK1RyYWNpbmcgaXMgZW5hYmxlZCB2aWEg YGAtLXRyYWNlYGAgRUFMIG9wdGlvbiBieSBwYXNzaW5nIGJvdGgNCj4gPj4gPiBleHByZXNzaW9u DQo+ID4+ID4gK21hdGNoaW5nIFBNVSB0cmFjZXBvaW50IG5hbWUgaS5lIGBgbGliLmVhbC5wbXUu cmVhZGBgIGFuZA0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