From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx.bisdn.de (mx.bisdn.de [185.27.182.31]) by dpdk.org (Postfix) with ESMTP id 744BFC482 for ; Mon, 13 Apr 2015 22:25:07 +0200 (CEST) Received: from [192.168.1.102] (f052155150.adsl.alicedsl.de [78.52.155.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.bisdn.de (Postfix) with ESMTPSA id 22EA5A3B32 for ; Mon, 13 Apr 2015 22:25:07 +0200 (CEST) Message-ID: <552C261E.7040608@bisdn.de> Date: Mon, 13 Apr 2015 22:25:02 +0200 From: Marc Sune User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: dev@dpdk.org References: <5527656A.1080606@huawei.com> In-Reply-To: <5527656A.1080606@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] How to check memory leak with dpdk application X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 20:25:07 -0000 On 10/04/15 07:53, Linhaifeng wrote: > Hi, all > > I'am trying to use valgrind to check memory leak with my dpdk application but dpdk always failed to mmap hugepages. > > Without valgrind it works well.How to run dpdk applications with valgrind?Is there any other way to check memory leak > with dpdk applications? > Yes it can be used, just that 3.10 has issues with hugepages. Check this out: http://article.gmane.org/gmane.comp.networking.dpdk.devel/8058/match=valgrind+hugepages Marc