[dpdk-dev] Valgrind and DPDK - does it work ?

Marc Sune marc.sune at bisdn.de
Fri Nov 7 01:22:49 CET 2014


On 16/09/14 13:42, Morten Jagd Christensen wrote:
> Hi all,
>
>   
>
> I am interested to hear if anyone here have had any luck running Valgrind on
> DPDK applications?
>
>   
>
> I tried to use this some time ago, but Valgrind does not seem to work
> together with hugepages – or
>
> I am doing something wrong ;-)
>
>   
>
> I would like to hear form anyone having success or failure with Valgrind and
> DPDK.

Found some time to have a close look. I also wanted to check a DPDK app 
against valgrind. It works!

I downloaded and compiled valgrind from sources (3.10.0) and applied 
(manually) this patch:

https://bugs.kde.org/attachment.cgi?id=85950&action=edit

(Applied around line 2216)

 From this post:

http://valgrind.10908.n7.nabble.com/mpich-unable-to-munmap-hugepages-td49150.html

Happy debugging
Marc



More information about the dev mailing list