I find I cannot comprehend the outputs of mprof vs mptrace for my program: The mptrace summary shows: allocated: 2335 (334988 bytes) freed: 2315 (323172...
It looks like you may have found an undocumented difference between profiling and tracing. As it is currently implemented, profiling records the actual memory ...
Hi, I'm having a bit of a hard time. The output was not exactly accurate. I've now got better variance between mprof and mptrace but its still unpredictable. ...
Hi, Your program looks like it's creating quite a few threads. Are you remembering to link with libmpatrolmt.so rather than libmpatrol.so? Graeme. ... ...
Hi, I can't build a C++ code with mpatrol that has stl vector, can anybody please tell me how to make this work. Thanks, -Hasan Here is the source: #include...
Hi, It's a problem with the macro replacement that mpatrol.h tries to do with new and delete. See http://www.cbmamiga.demon.co.uk/mpatrol/mpatrol_79.html...
Thanks, that was the problem. It works great now. Question: Lets say I want to trace a particular class e.g. SMString and how its using heap; How do I modify ...
Hi ! My setup is as follows : 1. System is Solaris 8plus. Compiler CC and cc. 2. compiled mpatrol code with cc, and cplus.c with CC. No compile flags used for...
Hi, For problem 1 your workaround looks fine, although you'll need to change all references in the mpatrol/src directory from meminfo to meminfo1. The latest...
Hi, as stated in http://tech.groups.yahoo.com/group/mpatrol/message/794 mpatrol is "incompatible with the debug malloc implementation in libcd.lib and/or...
... Oh, sorry. In fact linking mpatrol in release mode does work. My actual problem is obviously the combination Boost.Test and mpatrol. Linking them both in...
Hi, I've been trying to get mpatrol to show me the line no. and filename info when using it with the '--dynamic' option. Correct me if I'm wrong but I could'nt...
Hi, ... That's correct. libelf doesn't provide any capability for reading debugging information from the object files. ELF isn't tied to a particular...
I am attempting to use MPatrol with MontaVista Linux C++ on PXA270 (ARM architecture). MontaVista included MPatrol in the distribution but provided no...
Hi John, Yes, mpatrol hasn't been ported to the ARM architecture by me but it looks like you (or someone at MontaVista?) have got most of it working judging...
Hi , I have installed mpatrol and followed instructions as per online doc at http://www.cbmamiga.demon.co.uk/mpatrol/mpatrol_4.html#SEC4 for building mpatrol. ...
Hi, I've found that when libmpatrol.so is dynamically linked in or preloaded no symbol information is read from other dynamically linked in libs.Hence the...
Hi, I've found that when libmpatrol.so is dynamically linked in or preloaded no symbol information is read from other dynamically linked in libs.Hence the...
I'm trying to install mpatrol on Sun Solaris 5.10 and am getting the following error when I do gmake: g++ -I../../src -I../../tools -O3 -fno-inline-functions...
Sorry for the delay in replying. The latest versions of Solaris define a meminfo structure which conflicts with mpatrol's definition. Your best bet would be...
... ./config.status ... and without ... libtool and without ... and without ... and without ... and without ... mpatrol, is it ... Fixes suggested for a...
In a previous post a work-around for a reported build failure incorrectly stated 'autoconf' instead of 'automake'. Sorry. To correct the build error shown...
Hi, on our PowerPC we start our software with mpatrol, which creates a very big logfile (105 MB). The memory allocation grows to big (twice as big as usually)....
Hi, As long as you don't use the following mpatrol options, then your program's heap will be reasonably compact, as you'd expect: NOFREE, OFLOWSIZE, PAGEALLOC ...
Hi Graeme, thanks much for your response. This is our system: CPU: MPC5200B RAM: 64 MB = 32 MB RAM + 32 MB Filesystem OS: Elinos glibc 2.3.4 We translated the...
Hi Fahri, You don't have much physical memory on your chip, so you won't have very much available to your process after the operating system eats some of it ...
Hi all, On behalf of MontaVista, CodeSourcery recently added support to mpatrol to use libunwind (http://www.nongnu.org/libunwind/) in order to provide...