DPDK usage discussions
 help / color / mirror / Atom feed
From: Ali Hmaity <ali.hmaity@polimi.it>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Issues building dpdk with EXTRA_CFLAGS and EXTRA_LDFLAGS to profile RX misses on x86 architecture
Date: Mon, 11 Dec 2017 14:17:35 +0000	[thread overview]
Message-ID: <AM6PR0602MB35094DCD101126ECFCE62F379D370@AM6PR0602MB3509.eurprd06.prod.outlook.com> (raw)

Hello all,


I've trying to build dpdk 17.11 and linking it to vtune_amplifier_xe_2017 to profile some sample applications. I followed the tutorial step by step but I'am stuck here:


Then rebuild DPDK, specifying paths to the ITT header and library, which can be found in any VTune Amplifier distribution in the include and lib directories respectively:

make EXTRA_CFLAGS=-I<path to ittnotify.h> \
     EXTRA_LDLIBS="-L<path to libittnotify.a> -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=y

CONFIG_RTE_ETHDEV_PROFILE_ITT_WASTER_RX_ITERATIONS=y



both in  config/common_base  and in build/.config


Successively, I issued the following commands in CL:


make EXTRA_CFLAGS=- I /opt/intel/vtune_amplifier_xe_2017/include/ittnotify.h \ EXTRA_LDLIBS="-L /opt/intel/vtune_amplifier_xe_2017/lib64/libittnotify.a  -littnotify"


I get an error when compiling a library which uses ittnotify.h, sarying "Fatal error: ittnotify.h: No such file or directory"


Can someone please indicate it how to issue the make command? Or is there an alternative way to include CFLAGS and LDLIBS?



Thank you for you help

__Hmaity

                 reply	other threads:[~2017-12-11 14:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM6PR0602MB35094DCD101126ECFCE62F379D370@AM6PR0602MB3509.eurprd06.prod.outlook.com \
    --to=ali.hmaity@polimi.it \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).