[Valgrind-users] stack profiling

2010-07-20 Thread Mathieu Malaterre
Hi there, I am reading: http://valgrind.org/docs/manual/ms-manual.html I do not understand how to do stack profiling. I used: valgrind --tool=massif --time-unit=B --heap=no --stacks=yes prog It generates a massif file, I can open it with ms_print. But I am starring at this output and

Re: [Valgrind-users] C++ function wrapping: wrong mangled names

2010-07-20 Thread Dan Kegel
On Tue, Jul 20, 2010 at 7:33 AM, Patrick Heckeler hecke...@informatik.uni-tuebingen.de wrote: Is there any other possibility to wrap C++ functions? Well, you could use extern C on that one function to disable the mangling, but you already knew that. (And it won't work if you have several

[Valgrind-users] Using mempool client requests

2010-07-20 Thread Török Edwin
Hi, I thought of adding valgrind client requests to ClamAV's, but I encountered some problems. I think it could be solved by introducing a new client request in Valgrind. While it is possible to teach valgrind about ClamAV's pools (see attached mpool.patch for example), I think valgrind will be

Re: [Valgrind-users] C++ function wrapping: wrong mangled names

2010-07-20 Thread Bart Van Assche
On Tue, Jul 20, 2010 at 5:43 PM, Patrick Heckeler hecke...@informatik.uni-tuebingen.de wrote: On 20 July 2010 17:13, Dan Kegel d...@kegel.com wrote: On Tue, Jul 20, 2010 at 7:33 AM, Patrick Heckeler hecke...@informatik.uni-tuebingen.de wrote: Is there any other possibility to wrap C++

Re: [Valgrind-users] Using mempool client requests

2010-07-20 Thread Dave Goodell
Hi Edwin, On Jul 20, 2010, at 10:32 AM CDT, Török Edwin wrote: While it is possible to teach valgrind about ClamAV's pools (see attached mpool.patch for example), I think valgrind will be more effective if I just disable ClamAV's pools (and let it use malloc). This sounds like a practical

Re: [Valgrind-users] Using mempool client requests

2010-07-20 Thread Török Edwin
On Tue, 20 Jul 2010 13:34:12 -0500 Dave Goodell good...@mcs.anl.gov wrote: Hi Edwin, Hi, Thanks for the quick reply. On Jul 20, 2010, at 10:32 AM CDT, Török Edwin wrote: While it is possible to teach valgrind about ClamAV's pools (see attached mpool.patch for example), I think

Re: [Valgrind-users] Using mempool client requests

2010-07-20 Thread Dave Goodell
On Jul 20, 2010, at 2:07 PM CDT, Török Edwin wrote: On Tue, 20 Jul 2010 13:34:12 -0500 Dave Goodell good...@mcs.anl.gov wrote: On Jul 20, 2010, at 10:32 AM CDT, Török Edwin wrote: While it is possible to teach valgrind about ClamAV's pools (see attached mpool.patch for example), I think