From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0050.outbound.protection.outlook.com [104.47.1.50]) by dpdk.org (Postfix) with ESMTP id 5BACDE5D for ; Mon, 11 Dec 2017 15:17:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polimi365.onmicrosoft.com; s=selector1-polimi-it; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zQH/E2Bu3x6y0PQObq1R81f7JZA0pV/tmizJWejgVso=; b=jqDVqEO75LQi0SipRC/axw8zrSKWLoKUKhQngBV0Em79KuyIkO/7EpacuXUIe3MvJHhmB/nflKQL+nDaDw2ORgtSeb6J+TpOmU3uCn1yPvcMN8w3jUkFByPf4aOnQkFffpT+o+sFjjFyA28R8QVcr06Fcb1Al/HRx6YYinTpZ6I= Received: from AM6PR0602MB3509.eurprd06.prod.outlook.com (52.133.22.158) by AM6PR0602MB3509.eurprd06.prod.outlook.com (52.133.22.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Mon, 11 Dec 2017 14:17:35 +0000 Received: from AM6PR0602MB3509.eurprd06.prod.outlook.com ([fe80::422:529e:d6bd:9084]) by AM6PR0602MB3509.eurprd06.prod.outlook.com ([fe80::422:529e:d6bd:9084%13]) with mapi id 15.20.0302.013; Mon, 11 Dec 2017 14:17:35 +0000 From: Ali Hmaity To: "users@dpdk.org" Thread-Topic: Issues building dpdk with EXTRA_CFLAGS and EXTRA_LDFLAGS to profile RX misses on x86 architecture Thread-Index: AQHTcodYKpJE3nlamkSU0JUT7j3Efw== Date: Mon, 11 Dec 2017 14:17:35 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ali.hmaity@polimi.it; x-originating-ip: [151.18.5.123] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR0602MB3509; 6:IUL+lZ01tUZQ3YK7YfJ+mEbaeQfNUzTRlMFcuYBIUTWLE20FnKajdZWX4ZxyN2Aei0uwOJSxuD43qYJTnvnlFH/B28fEYwCD+SkHQxeVvfEi2m2T01BhdbE2wetZKO1h1g4FHB6TQAQz2x9jcaEwq+bqF2h8RFzYAUrjL4DToZW+jLPkX7bjvHtg6sLnHykBlnl+vpOR5keKUoTv3jBEIWgf+Q9sH6JVAVxX1lc2Qz8pgrGVhYMio0bT4Kevfp93RWCBztiB9PSpB+c7dNs1AVWvfx6HHGR8im9UUa9Xpw3F0rE/Lg8XbgieRzwBUBJoe/pq0T3M+ARFKHn02O/VY6BXt0rsPPWQI70KCZDDmgY=; 5:urRiymXHxnLfsCNP8igS7F5j1QVj8Xb8ehFKCB7CfJ5zGAJu6ZrMVmgxWLjk4mFYKjhoSJsrGOxYV0uabMkipvyW0s08nQ1+1ugGG5HslZ4ue6aVfNqe+xibqKWcX2Pn9n6XkXq9krIMhZfe6qg26tQm2D5ZTu9gcs7EVvgzlqk=; 24:c7LfpILyNq7lfrTUR+epA+S8S+3S/+3uiB5wxQnMpb00P0Hz7Fdorrr1k84jtwlMWYtYjm9ZxhH/e2ox5qJ3AbVVAhb574AyGMOU9jYI7eY=; 7:G7hwARLjeh5VaS9Z/hUXXj8lgybnBlp67Yt4OKTgUPIn04shRhc09y8Ugw88b2CvmiwxxEkbmmSqmGhHtPS5Z9RGwBg/Gtm0GMnkRZRdfT3nFjckvQ/WgQ/PNxJUiChrlfOVQOPZT0+Z6kFWzHrR5BUayYSTCkIsdrxQyQS9/qtQIho1qz33wRbG82nGDC8gvKrzO/tCzUhgYgDTry8mM1y0JTXb+bCIgrQox4n7yylGpIwq8Kkf/gaI4q8OquLk x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: daac34f7-c401-4859-3f20-08d540a1ed2c x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(7168020)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:AM6PR0602MB3509; x-ms-traffictypediagnostic: AM6PR0602MB3509: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231022)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM6PR0602MB3509; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM6PR0602MB3509; x-forefront-prvs: 0518EEFB48 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(53754006)(189003)(199004)(2501003)(316002)(786003)(68736007)(99286004)(6116002)(102836003)(3846002)(5250100002)(345774005)(3660700001)(14454004)(55016002)(6436002)(5640700003)(74482002)(2900100001)(9686003)(33656002)(3280700002)(54896002)(55236003)(25786009)(2906002)(6506006)(97736004)(6916009)(6606003)(53936002)(7696005)(105586002)(74316002)(19627405001)(86362001)(2351001)(1730700003)(66066001)(5660300001)(81156014)(8936002)(7736002)(81166006)(8676002)(106356001)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0602MB3509; H:AM6PR0602MB3509.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: polimi.it does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: polimi.it X-MS-Exchange-CrossTenant-Network-Message-Id: daac34f7-c401-4859-3f20-08d540a1ed2c X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2017 14:17:35.5492 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0a17712b-6df3-425d-808e-309df28a5eeb X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0602MB3509 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Issues building dpdk with EXTRA_CFLAGS and EXTRA_LDFLAGS to profile RX misses on x86 architecture X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 14:17:36 -0000 Hello all, I've trying to build dpdk 17.11 and linking it to vtune_amplifier_xe_2017 t= o profile some sample applications. I followed the tutorial step by step bu= t I'am stuck here: Then rebuild DPDK, specifying paths to the ITT header and library, which ca= n be found in any VTune Amplifier distribution in the include and lib direc= tories respectively: make EXTRA_CFLAGS=3D-I \ EXTRA_LDLIBS=3D"-L -littnotify" Here what I did so far. I downloaded vtune_amplifer_xe_2017, installed it and changed the value for= the variables CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=3Dy CONFIG_RTE_ETHDEV_PROFILE_ITT_WASTER_RX_ITERATIONS=3Dy both in config/common_base and in build/.config Successively, I issued the following commands in CL: make EXTRA_CFLAGS=3D- I /opt/intel/vtune_amplifier_xe_2017/include/ittnotif= y.h \ EXTRA_LDLIBS=3D"-L /opt/intel/vtune_amplifier_xe_2017/lib64/libittnot= ify.a -littnotify" I get an error when compiling a library which uses ittnotify.h, sarying "Fa= tal error: ittnotify.h: No such file or directory" Can someone please indicate it how to issue the make command? Or is there a= n alternative way to include CFLAGS and LDLIBS? Thank you for you help __Hmaity