From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: DPDK (and rte_*alloc family) friendly Valgrind Date: Thu, 11 Feb 2016 08:34:44 +0100 Message-ID: <1719358.h1p3ccrXDn@xps13> References: <1455144896.2805.32.camel@brocade.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Luca Boccassi Return-path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id A5E4B2E83 for ; Thu, 11 Feb 2016 08:36:12 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id p63so60117562wmp.1 for ; Wed, 10 Feb 2016 23:36:12 -0800 (PST) In-Reply-To: <1455144896.2805.32.camel@brocade.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-02-10 22:54, Luca Boccassi: I created a set of patches for Valgrind that add support for the > rte_*alloc family of functions. We use it for memcheck (I added support > for other all the other Valgrind tools like cachegrind as well, but it's > less tested), and find it extremely useful, since the vanilla version > cannot intercept and report leaks cause by rte_*alloc functions from > librte_malloc. Thank you Luca. I think it deserves to be visible in the DPDK doc. What about adding some explanations in http://dpdk.org/doc/guides/prog_guide/profile_app.html or http://dpdk.org/doc/guides/prog_guide/env_abstraction_layer.html#malloc ?