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 F247AA00C5 for ; Thu, 11 Jun 2020 10:57:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3E7CB1B94F; Thu, 11 Jun 2020 10:57:56 +0200 (CEST) Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) by dpdk.org (Postfix) with ESMTP id C81F31B91B for ; Thu, 11 Jun 2020 10:57:54 +0200 (CEST) Received: by mail-io1-f43.google.com with SMTP id q8so5466657iow.7 for ; Thu, 11 Jun 2020 01:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=593xHcHcHm08WnCUqtU4oS9LatLpjUGHuxax+vmoLO0=; b=WUGbKfpFKdn7zksVcEzhOHMW5tQHRWmJu1Is01RuDo9uedJH/Qb8j81M1L5W8nnVnP exVINVzc3R6K7ehln8fb+NZxrYIjMJsLpVeN2zyxMS9HjPmfSJL+tc0LALjV15q/YHWx MLr6fRAVYyhbLPhBdwcYl65htBxYczDInQYoSM7BqALTZKOv2hSwoVtX4D1aBX+pV4d3 5TV+qAE5poA8VXxhs1WbNqro3bJ13OFVHWKCFpjKjAQX4f7H6m2X/IXmnSKx1M3FlLlw nOwjsvkmhEzpcSxIXi9HAYb18inqItmFGjGKFuF5ZO14Ybou06rB2jvVbDaDw8xLnPdj /hig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=593xHcHcHm08WnCUqtU4oS9LatLpjUGHuxax+vmoLO0=; b=JD9dYZU5J9lBwexsQTr1r/MEsfgYTYYX3T0dRdK240LF8Oc8MnMZ5V6dlEKLNVdy/d lBtNsW4rLD0AoNsdChyqY7yVBoD4QS2J2YAps16OgT4LCYX3BHu9iFZ38eMJzRG3oR7m DnPkyvwLJhAg/vHGf8j9pQVSsgGHvSD46rVjF9CKTa4W02ABgEqEG1ud04tbysb1Y9qj z3wqkuBwW6U/rz9uct0N0RnkML6ATNXHf4CcLQHCXvW17rT7HPiBImUhJzys5mr6XzOp v5RyESMKbAFEGtO3ezLQm3fq2W65N7Nqdtv2nIpGOoMaeA7C7GipXsXIeAUJiM+3kxYP w+1A== X-Gm-Message-State: AOAM5321u1DUFgihefLkc8XvQZPgp6+rm2r6cjI8y1g0mxF5irXe1Hz9 zZV1AyfP7eU1jmE3GdGitOXonA262TfkGLu/NS8zTAWj X-Google-Smtp-Source: ABdhPJxzGgGzbKwtRo0eaeSa04eOWj/pJmKnVHdCPgNTUmK8crvDpHDEu7txWPczlOWYIhJjjcTvGnDLYHBzYp9rhEg= X-Received: by 2002:a5e:d619:: with SMTP id w25mr7439170iom.189.1591865873943; Thu, 11 Jun 2020 01:57:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Aldrich Date: Thu, 11 Jun 2020 09:57:43 +0100 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Segmentation fault in rte_eth_devices() 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: , Errors-To: users-bounces@dpdk.org Sender: "users" 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