Hi, Having a little trouble getting mpatrol working using LD_PRELOAD on HP-UX 11.11 (PA-RISC). I've built a test program that included mpatrol.h, and that...
Hi Jim, I think what you're seeing is a result of memcpy() and family being overridden as well when you use LD_PRELOAD. Without LD_PRELOAD you get the...
I have been trying to get a copy of mpatrol that will work on a SuSe 9.0 PPC machine. I downloaded mpatrol_1.4.8.gz from www.icewalkers.com and managed to get...
Hello, perhaps someone can help me with this little problem. I have a quite simple piece of code that actually doesn't do anything, but produces two memory...
I have compiled mpatrol 1.4.8 on Solaris 11. I compile the test files like this gcc test1.c -o test1 -I/usr/local/include -lmpatrol -lelf It gets compiled....
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...