[dpdk-dev] DPDK (and rte_*alloc family) friendly Valgrind

2016-02-15 Thread Thomas Monjalon
2016-02-13 12:30, Luca Boccassi: > On Thu, 2016-02-11 at 08:34 +0100, Thomas Monjalon wrote: > > 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 t

[dpdk-dev] DPDK (and rte_*alloc family) friendly Valgrind

2016-02-13 Thread Luca Boccassi
On Thu, 2016-02-11 at 08:34 +0100, Thomas Monjalon wrote: > 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

[dpdk-dev] DPDK (and rte_*alloc family) friendly Valgrind

2016-02-13 Thread Luca Boccassi
On Fri, 2016-02-12 at 22:47 -0800, Matthew Hall wrote: > 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 > > Hi Luca, > > This is awesome stuff: > > ==18730== Source and destination

[dpdk-dev] DPDK (and rte_*alloc family) friendly Valgrind

2016-02-13 Thread Matthew Hall
On Feb 13, 2016, at 4:30 AM, Luca Boccassi wrote: > I have not, however, implemented support for NUMA sockets. There is no > such concept inside Valgrind's framework at the moment, so it would be a > monumental task. There is a way to mark the mallocs and frees from inside a custom allocator ins

[dpdk-dev] DPDK (and rte_*alloc family) friendly Valgrind

2016-02-12 Thread Matthew Hall
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 Hi Luca, This is awesome stuff: ==18730== Source and destination overlap in memcpy(0x6851c00, 0x6851c00, 4144) ==18730==at 0x4C30573:

[dpdk-dev] DPDK (and rte_*alloc family) friendly Valgrind

2016-02-11 Thread Thomas Monjalon
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

[dpdk-dev] DPDK (and rte_*alloc family) friendly Valgrind

2016-02-10 Thread Luca Boccassi
Hello all, 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