From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 31B18A00C2;
	Wed, 22 Apr 2020 21:37:05 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id D449A1D16D;
	Wed, 22 Apr 2020 21:37:04 +0200 (CEST)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com
 (mail-am6eur05on2058.outbound.protection.outlook.com [40.107.22.58])
 by dpdk.org (Postfix) with ESMTP id 9AC911D158
 for <dev@dpdk.org>; Wed, 22 Apr 2020 21:37:03 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Uv09653wDomrM8EZ8Na0JpV9PfjCBEwkGTxjF9hsM4aTAqe0lkazQZ0MdAakCyDYMJEh7AF93uc6sLPbHPY2CS9oHo1NRX7uJAbcCQNBldlyE4arEnGkQq3ahd8CxLJjERC45CH+y5FRQY4R7AKkT69bJupqCJlPr+9qirQQnZt/51Y2kxWtGBcCGyDyttNImL8Y0vbfvKz8TC1VQSOwNMfjgDw2WMZorkErKZngtqSX2nBorECG1//ovKSDnOe7K5yclUErMaRwo8j2sEM6a5g/k+FQm6PCSwxGGir4Jl5EOPPneWRwSzmMOJPuqxnmJfky9KZULCowLaLaAICVEA==
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=li1a/2jlP6f8rU8T0FQ1OKWzsdzrMs0DFbPxD3hBs3M=;
 b=De25ZN7dZMnSV/DUC1a9wXKgS58JErHf0t3yRXogSofZM9CltSl9VKbYkV8Ver+LlgirY0qlqnGqH//VYLmIhahCAmGssvUaNPExYb3xL0AHw0hvxS4mC+KGAU126UjVSBuiAM7Un5ZXjYsMK+ZTPUNZRbK8EmfenGC/6f5+7/p7jWQNCd/BvmC40EZiHbL6UoKK/4dshK1VoTnWsQe3ZyYL+WfMrIuNzTakiGnkWnQtr/0YZT2TKHbfjTakD0WxqQT20/MPpaVQh36PrM19QbQgwWlLgXEye4FipZFVupUidRijW7xn1gJglV57wdUC0r97png84ZvM5JUoyqfJIg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass
 header.d=nxp.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; 
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=li1a/2jlP6f8rU8T0FQ1OKWzsdzrMs0DFbPxD3hBs3M=;
 b=pt2IBKDIviwupDcKq6sLD5cKKujRvoUfuuNfcO4Zqp2wzbHCpS3+RXXuMieTghltpnZdnmThhKW5qonnVcRL3hcmRM83jm3cKA4CZF04GoL3NG+/F0mrZ9uAfnXD+iGI8nnnRE+BvrjW32sIzabIdr2vXfEUOfWka801ybGLjvc=
Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10)
 by VI1PR04MB6845.eurprd04.prod.outlook.com (2603:10a6:803:138::11) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Wed, 22 Apr
 2020 19:37:02 +0000
Received: from VI1PR04MB3168.eurprd04.prod.outlook.com
 ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com
 ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020
 19:37:02 +0000
From: Akhil Goyal <akhil.goyal@nxp.com>
To: "jerinj@marvell.com" <jerinj@marvell.com>, Olivier Matz
 <olivier.matz@6wind.com>, David Hunt <david.hunt@intel.com>, Marko Kovacevic
 <marko.kovacevic@intel.com>, Ori Kam <orika@mellanox.com>, Bruce Richardson
 <bruce.richardson@intel.com>, Radu Nicolau <radu.nicolau@intel.com>, Tomasz
 Kantecki <tomasz.kantecki@intel.com>, Sunil Kumar Kori <skori@marvell.com>,
 Pavan Nikhilesh <pbhagavatula@marvell.com>, Harry van Haaren
 <harry.van.haaren@intel.com>, Konstantin Ananyev
 <konstantin.ananyev@intel.com>, Anatoly Burakov <anatoly.burakov@intel.com>,
 Xiaoyun Li <xiaoyun.li@intel.com>, Jingjing Wu <jingjing.wu@intel.com>,
 Reshma Pattan <reshma.pattan@intel.com>, John McNamara
 <john.mcnamara@intel.com>, Kirill Rybalchenko <kirill.rybalchenko@intel.com>, 
 Cristian Dumitrescu <cristian.dumitrescu@intel.com>, Jasvinder Singh
 <jasvinder.singh@intel.com>, Byron Marohn <byron.marohn@intel.com>, Yipeng
 Wang <yipeng1.wang@intel.com>, Robert Sanford <rsanford@akamai.com>, Erik
 Gabriel Carrillo <erik.g.carrillo@intel.com>, Thomas Monjalon
 <thomas@monjalon.net>, Ferruh Yigit <ferruh.yigit@intel.com>, Andrew
 Rybchenko <arybchenko@solarflare.com>
CC: "dev@dpdk.org" <dev@dpdk.org>, "david.marchand@redhat.com"
 <david.marchand@redhat.com>, "mattias.ronnblom@ericsson.com"
 <mattias.ronnblom@ericsson.com>
Thread-Topic: [dpdk-dev] [PATCH v7 28/32] ethdev: add tracepoints
Thread-Index: AQHWGNkRWjBAEAHeK0yXtlwgRZr/yKiFiK6Q
Date: Wed, 22 Apr 2020 19:37:01 +0000
Message-ID: <VI1PR04MB3168ECC76A48052DC7E1E591E6D20@VI1PR04MB3168.eurprd04.prod.outlook.com>
References: <20200419100133.3232316-1-jerinj@marvell.com>
 <20200422190349.3768487-1-jerinj@marvell.com>
 <20200422190349.3768487-29-jerinj@marvell.com>
In-Reply-To: <20200422190349.3768487-29-jerinj@marvell.com>
Accept-Language: en-IN, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is )
 smtp.mailfrom=akhil.goyal@nxp.com; 
x-originating-ip: [45.118.167.83]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 8991bdea-54b3-4573-4e90-08d7e6f487c6
x-ms-traffictypediagnostic: VI1PR04MB6845:
x-microsoft-antispam-prvs: <VI1PR04MB68451ABD9870A72BE21004A1E6D20@VI1PR04MB6845.eurprd04.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:2089;
x-forefront-prvs: 03818C953D
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE;
 SFTY:;
 SFS:(4636009)(136003)(396003)(376002)(346002)(39860400002)(366004)(478600001)(2906002)(110136005)(54906003)(86362001)(8936002)(64756008)(76116006)(66446008)(6506007)(66556008)(66946007)(7696005)(66476007)(33656002)(26005)(316002)(7406005)(8676002)(7416002)(186003)(52536014)(9686003)(4326008)(81156014)(44832011)(5660300002)(71200400001)(55016002)(921003);
 DIR:OUT; SFP:1101; 
received-spf: None (protection.outlook.com: nxp.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: hoToWIbajfcS6zwKwzCq50pgA8fstALmECEMwxpPAdDLU7lxgZ1wsNyWukmHMeaeoKqd9iB+3vHWGwyRnVeOnx4xbEJz8mepCNMbEGClvuN2odKd5RBwM3EMYfy0slUqp6uqQ2kwm3B9uWA8R5iJD7l6pMomZf3Tpjx+6pK4PM7lA5MWTG4knwgTsK+v3wDZ+YAOiAcZeEkzYMlFfAUtJA1DvW8LDuivvD8ogHJ3cYS85e1sLg49QEAUY0IbOBqFglqnqoem+Ge30WCfOJOxbbnSRcSaKJ9Af4mgSQmc/2Bo5SLMCjEGPpW5PCOCX3XDdwgsp+9ypmETZEYXrc+lGd9XnJJqx9EOSOtNezGl8KA1Dlc3dZrwUFz3u2IrWFjEPmnyCfNxJo8Txu6dRjd10FMVvTjNK4IKaFD9hOMDtR9Lx14HDBhlzslX1uRbWMxNXo0D8dhAXIBz2MZsfeowRoEw3Jhl/ztDF7MZeRppYoY=
x-ms-exchange-antispam-messagedata: YgRNBWY9xVgzKGKNmAr/H6cku4fg2V2fy2ITgFU9UmwetL0QfXC+IzittJYCVxdQ3jrST+vkSdl9ekYU9ic45HWEvdZPMMXDADTF9k3p4Xd3K2/CtTw8gSQSgGqPyxD/1wMuR6j/G4GeXG7E8/0h7A==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nxp.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8991bdea-54b3-4573-4e90-08d7e6f487c6
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2020 19:37:01.8564 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: WOm6DVihOr8+4asmXAhAB/jAt4h73qHAtxPQMrf1VtmT05nWllwJcsenReCeuX7pXjRlDnRCutXs1RVj9kEMhg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6845
Subject: Re: [dpdk-dev] [PATCH v7 28/32] ethdev: add tracepoints
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

>=20
> From: Sunil Kumar Kori <skori@marvell.com>
>=20
> Add tracepoints at important and mandatory APIs for tracing support.
>=20
> Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
> ---
>  examples/cmdline/Makefile                     |  1 +
>  examples/cmdline/meson.build                  |  1 +
>  examples/distributor/Makefile                 |  1 +
>  examples/distributor/meson.build              |  1 +
>  examples/ethtool/ethtool-app/Makefile         |  1 +
>  examples/eventdev_pipeline/meson.build        |  1 +
>  examples/flow_filtering/Makefile              |  1 +
>  examples/flow_filtering/meson.build           |  1 +
>  examples/helloworld/Makefile                  |  1 +
>  examples/helloworld/meson.build               |  1 +
>  examples/ioat/Makefile                        |  1 +
>  examples/ioat/meson.build                     |  1 +
>  examples/ip_fragmentation/Makefile            |  2 +
>  examples/ip_fragmentation/meson.build         |  1 +
>  examples/ip_reassembly/Makefile               |  1 +
>  examples/ip_reassembly/meson.build            |  1 +
>  examples/ipv4_multicast/Makefile              |  1 +
>  examples/ipv4_multicast/meson.build           |  1 +
>  examples/l2fwd-cat/Makefile                   |  1 +
>  examples/l2fwd-cat/meson.build                |  1 +
>  examples/l2fwd-event/Makefile                 |  1 +
>  examples/l2fwd-event/meson.build              |  1 +
>  examples/l2fwd-jobstats/Makefile              |  1 +
>  examples/l2fwd-jobstats/meson.build           |  1 +
>  examples/l2fwd-keepalive/Makefile             |  1 +
>  examples/l2fwd-keepalive/ka-agent/Makefile    |  1 +
>  examples/l2fwd-keepalive/meson.build          |  1 +
>  examples/l3fwd-acl/Makefile                   |  1 +
>  examples/l3fwd-acl/meson.build                |  1 +
>  examples/l3fwd/Makefile                       |  1 +
>  examples/l3fwd/meson.build                    |  1 +
>  examples/link_status_interrupt/Makefile       |  1 +
>  examples/link_status_interrupt/meson.build    |  1 +
>  .../client_server_mp/mp_client/Makefile       |  1 +
>  .../client_server_mp/mp_client/meson.build    |  1 +
>  .../client_server_mp/mp_server/meson.build    |  1 +
>  examples/multi_process/hotplug_mp/Makefile    |  1 +
>  examples/multi_process/hotplug_mp/meson.build |  1 +
>  examples/multi_process/simple_mp/Makefile     |  1 +
>  examples/multi_process/simple_mp/meson.build  |  1 +
>  examples/multi_process/symmetric_mp/Makefile  |  1 +
>  .../multi_process/symmetric_mp/meson.build    |  1 +
>  examples/ntb/Makefile                         |  1 +
>  examples/ntb/meson.build                      |  1 +
>  examples/packet_ordering/Makefile             |  1 +
>  examples/packet_ordering/meson.build          |  1 +
>  .../performance-thread/l3fwd-thread/Makefile  |  1 +
>  .../l3fwd-thread/meson.build                  |  1 +
>  .../performance-thread/pthread_shim/Makefile  |  1 +
>  .../pthread_shim/meson.build                  |  1 +
>  examples/ptpclient/Makefile                   |  1 +
>  examples/ptpclient/meson.build                |  1 +
>  examples/qos_meter/Makefile                   |  1 +
>  examples/qos_meter/meson.build                |  1 +
>  examples/qos_sched/Makefile                   |  1 +
>  examples/qos_sched/meson.build                |  1 +
>  examples/server_node_efd/node/Makefile        |  1 +
>  examples/server_node_efd/node/meson.build     |  1 +
>  examples/server_node_efd/server/Makefile      |  1 +
>  examples/server_node_efd/server/meson.build   |  1 +
>  examples/service_cores/Makefile               |  1 +
>  examples/service_cores/meson.build            |  1 +
>  examples/skeleton/Makefile                    |  1 +
>  examples/skeleton/meson.build                 |  1 +
>  examples/timer/Makefile                       |  1 +
>  examples/timer/meson.build                    |  1 +
>  examples/vm_power_manager/Makefile            |  1 +
>  examples/vm_power_manager/meson.build         |  1 +
>  examples/vmdq/Makefile                        |  1 +
>  examples/vmdq/meson.build                     |  1 +
>  examples/vmdq_dcb/Makefile                    |  1 +
>  examples/vmdq_dcb/meson.build                 |  1 +
>  lib/librte_ethdev/Makefile                    |  3 +
>  lib/librte_ethdev/ethdev_trace_points.c       | 43 ++++++++
>  lib/librte_ethdev/meson.build                 |  5 +-
>  lib/librte_ethdev/rte_ethdev.c                | 12 +++
>  lib/librte_ethdev/rte_ethdev.h                |  5 +
>  lib/librte_ethdev/rte_ethdev_trace.h          | 97 +++++++++++++++++++
>  lib/librte_ethdev/rte_ethdev_trace_fp.h       | 44 +++++++++
>  lib/librte_ethdev/rte_ethdev_version.map      | 10 ++
>  80 files changed, 291 insertions(+), 1 deletion(-)
>  create mode 100644 lib/librte_ethdev/ethdev_trace_points.c
>  create mode 100644 lib/librte_ethdev/rte_ethdev_trace.h
>  create mode 100644 lib/librte_ethdev/rte_ethdev_trace_fp.h
>=20
> diff --git a/examples/cmdline/Makefile b/examples/cmdline/Makefile
> index 0b6b54540..9a33355d0 100644
> --- a/examples/cmdline/Makefile
> +++ b/examples/cmdline/Makefile
> @@ -57,6 +57,7 @@ SRCS-y :=3D main.c commands.c parse_obj_list.c
>=20
>  CFLAGS +=3D -O3
>  CFLAGS +=3D $(WERROR_FLAGS)
> +CFLAGS +=3D -DALLOW_EXPERIMENTAL_API
>=20
Adding DALLOW_EXPERIMENTAL_API in cflags is no more required for each app.
It is globally controlled now.