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 1399AA0583; Thu, 19 Mar 2020 11:16:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 210ADF94; Thu, 19 Mar 2020 11:16:39 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130083.outbound.protection.outlook.com [40.107.13.83]) by dpdk.org (Postfix) with ESMTP id 37DCDF90 for ; Thu, 19 Mar 2020 11:16:38 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nMOzRjSVgdvlAQyKZyrc0Xx1/kU4DH/dfPenPjMtA7vQ5cXZkt+8/UH3gJ3AIw0tbf2v4mVWSQGsvnzOg1ryEVPunMIVKADNDkdohBrYI9sFpoZUXndCatgOtE46pod45dG5I4zff/imi3u4vg9FXeAiC523UAoGU4bF00LtHczbn/48JKl/ZqKhvCXviGCggL4yLjRwu9+xMKHs3pj8gYNWicRhi1/90avcEjvMRYUKQm/p5PZ35mNVU0R6QZWBlXT1VEG21ATzjN5/OpvRdXKJ/rb1765tM6tP9JxTuc3k3qE2oWu4/CvNwBl9reGmz97+VvfwdWD77drphGqzlA== 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=lTU1ReWJ6m7kKyQkyaNsZOgLX7wCcCGYc9g1tE1LcBw=; b=aFQTzYfhwUPepsqHbrquWJ1/AAyoj4EJswde91i/Ha2vBjyQntEI/XokS8YWMiw0AHNWybT/lhVHg3I8O4+LdvMcsRxOxgoSFAPZQ0IbYKJEOUP9hSAh49BN+SDIJopvlsO9Y0r7PP52FY7lm30VEsF5Fppq+N7mDijJfMfgsDJYJtr5BXBNnux4BritJmyX9OyJdyjDZ+fDRM9oCQp98g1Jz2k4lYyTTLoSHSvAZj+td2F+so8mpl0J81GfW5JNrG9hFNSwoE0TtGNPcrHKDsKUKdpXIAResHDd2yfePHqBBBVC6rvX2FTSsA0GilCCKydw0hQCpXdnFyQk0kXy6A== 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=lTU1ReWJ6m7kKyQkyaNsZOgLX7wCcCGYc9g1tE1LcBw=; b=HX4t5CVYCWrJkVpicIXtMIS0m8em9FHOnb4mQmtyqWQzhrQ67+IiRw/tKvD7L0sP+ASajqAPkmpDZbZx1Fg1uvKCxarjYH+xK/RfJaKJTagD9FCccCvJdCY2hP/Warbd6FaKUit59xS5eJrP2wiCAGvynS/GEhfIEDBEyTwbUns= Received: from AM6PR07MB4069.eurprd07.prod.outlook.com (52.134.116.150) by AM6PR07MB3896.eurprd07.prod.outlook.com (52.134.114.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.8; Thu, 19 Mar 2020 10:16:37 +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:16:37 +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 04/32] eal/trace: implement trace operation APIs Thread-Index: AQHV/VgVAAEGNC0kHUKQxEsgdiAt7qhPtEAA Date: Thu, 19 Mar 2020 10:16:36 +0000 Message-ID: <51767a7c-a589-4547-c726-ed3110b87062@ericsson.com> References: <20200318190241.3150971-1-jerinj@marvell.com> <20200318190241.3150971-5-jerinj@marvell.com> In-Reply-To: <20200318190241.3150971-5-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: 6940ebe7-f7cd-48d3-a4a7-08d7cbee9ba9 x-ms-traffictypediagnostic: AM6PR07MB3896: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 0347410860 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(136003)(39860400002)(366004)(346002)(199004)(64756008)(186003)(66476007)(6486002)(71200400001)(85182001)(85202003)(26005)(66556008)(36756003)(6512007)(54906003)(110136005)(76116006)(66946007)(6506007)(53546011)(2616005)(4326008)(478600001)(66446008)(91956017)(5660300002)(316002)(86362001)(81156014)(81166006)(31686004)(8676002)(8936002)(2906002)(31696002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR07MB3896; 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: 01iGUtmlu+E/eH10fJAyW9zOFyn2ssuicCuRWfHm91wKPMPcxW9OW/jDTRFZ6V8uXQz1XZXDYxx2qKCcvS+bGVBkg1NRb0fcBUck5NggiMr9FeH2HKujCZRYHu+PVGNLMP4JeADxtNH0LsxdFJYJLJSqsc3Q/8iK+/o5JTCYVWsnPBlNP0nklW0l3CogPA/hjYs2wgDO0hJBNUiiL1TghFN7SQ5lyhdGXcnrmLzuG9ebRIEKJlUYJnuxik/TXYYNPIWPwHnpsnBsQUUWggQSrpUGjXPLGKrIvAIAktxZ2c69wB3PInwUjaxA5PVtKvyOUr3i6A0HgQiIz2jU6EAO0b4xtD7Yqex0ZUBk7Y1CnPO2rfW5ASE4MN1Rg8s53MgZCcceykZ013uvibHCln8WK9Q3cPpJt3NvdtBaldJkhWKygkz0ON3iW0UyWg6DAbt0 x-ms-exchange-antispam-messagedata: OIHWjQRYIaB+S+2fbao2bTL0s0Mqy32Lznfyys/lMAG3i2f1e98AdsaMrIKqugQmFHd0/mGDgN3uRPSdfpUVGoGgtk7K5KZ0R0lNyOl4PE+9LRMwZD/f3XTAabZR5+2u3uOKcKsPJWxkuXAiyh2QbQ== 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: 6940ebe7-f7cd-48d3-a4a7-08d7cbee9ba9 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2020 10:16:36.9346 (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: Z/MxrOvgGeozUkm8Q+X26vXYisRgmo2ayKfHwcos5fzzyR1GMHVgBJR3Bk5xaf9ytDscjUGE0NA0uogh9qSBVBgftpf+nA22bZiViVnpsog= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB3896 Subject: Re: [dpdk-dev] [PATCH v1 04/32] eal/trace: implement trace operation APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2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