DPDK usage discussions
 help / color / mirror / Atom feed
From: David Aldrich <david.aldrich.ntml@gmail.com>
To: users@dpdk.org
Subject: Re: [dpdk-users] Segmentation fault in rte_eth_devices()
Date: Thu, 11 Jun 2020 09:57:43 +0100	[thread overview]
Message-ID: <CAJK_ieiTn_0iNbs=OBQfmOfSYRrYsAmzMvFtDfvUQ+7X-ekULQ@mail.gmail.com> (raw)
In-Reply-To: <CAJK_iehCe7W1mfg=3uM3si=hhAke=iEOWtZDAnzOYHUGxgLXtA@mail.gmail.com>

Following on from my question, I want to enable more debug info in DPDK.  I
am building DPDK using:

usertools/dpdk-setup.sh

Am I correct in thinking that the build commands in that script use make
and I should modify the appropriate:

config/defconfig_*

file (defconfig_x86_64-native-linuxapp-gcc in my case) ?

If so, would these values be appropriate?

CONFIG_ RTE_LIBRTE_ETHDEV_DEBUG=y
RTE_LOG_LEVEL=RTE_LOG_DEBUG
RTE_LIBRTE_ETHDEV_DEBUG=y

(not sure whether all values should be prefixed by 'CONFIG_'?)

Finally, where do I specify '-O0 -g' for the DPDK build?

Best regards
David

  reply	other threads:[~2020-06-11  8:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-10 16:28 David Aldrich
2020-06-11  8:57 ` David Aldrich [this message]
2020-06-12  0:55   ` Vincent Li

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='CAJK_ieiTn_0iNbs=OBQfmOfSYRrYsAmzMvFtDfvUQ+7X-ekULQ@mail.gmail.com' \
    --to=david.aldrich.ntml@gmail.com \
    --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).