SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

mpr rpm build for : Other. For other distributions click mpr.

Name : mpr
Version : 2.8 Vendor : (none)
Release : 1 Date : 2005-06-07 08:06:30
Group : Development/Languages/C Source RPM : mpr-2.8-1.src.rpm
Size : 0.22 MB
Packager : Taj Khattra < taj_khattra_gmail_com>
Summary : memory allocation profiler for C/C++ programs
Description :
mpr is a memory allocation profiler for C/C++ programs.

mpr finds malloc/realloc memory leaks and memory allocation statistics by
using a simple, brute force strategy: log all malloc/free calls to a file and
post-process this log file when the program terminates.

mpr keeps track of the entire call chain leading up to a malloc/free call. This
is superior to conventional methods that keep track of only the immediate
caller using __FILE__ and __LINE__ pre-processor tricks.

As of version 2.0, you no longer need to re-link your application in order to
use mpr. If your program is dynamically linked, using mpr can be as simple as
typing \'mpr program ...\' (see mpr.html for details).

--

To give you an idea of what mpr can do, here are some sample outputs:

(1) memory allocations grouped by call chains:
(col2=number of allocs, col3=amount allocated, col4=percent)

main(tst.c,52) 55 1760 2.35%
foo(bar.c,14):bar(bar.c,28):main(tst.c,59) 200 2000 2.67%
main(tst.c,47) 200 3200 4.27%
foo(bar.c,19):bar(bar.c,28):main(tst.c,59) 200 4000 5.34%
foo(tst.c,34):main(tst.c,58) 200 12800 17.08%
foo(baz.c,21):baz(baz.c,29):main(tst.c,60) 200 51200 68.30%

(2) memory leaks grouped by call chains:
(col2=number of allocs leaked, col3=amount leaked, col4=percent)

main(tst.c,47) 52 832 2.36%
foo(bar.c,14):bar(bar.c,28):main(tst.c,59) 88 880 2.50%
main(tst.c,52) 31 992 2.82%
foo(bar.c,19):bar(bar.c,28):main(tst.c,59) 103 2060 5.85%
foo(tst.c,34):main(tst.c,58) 108 6912 19.62%
foo(baz.c,21):baz(baz.c,29):main(tst.c,60) 92 23552 66.86%

(3) memory allocations grouped by size:
(col1=size, col2=number of allocs, col3=amount allocated col4=percent)

32 55 1760 2.35%
10 200 2000 2.67%
16 200 3200 4.27%
20 200 4000 5.34%
64 200 12800 17.08%
256 200 51200 68.30%

(4) memory leaks grouped by size:
(col1=size, col2=number of allocs leaked, col3=amount leaked, col4=percent)

16 52 832 2.36%
10 88 880 2.50%
32 31 992 2.82%
20 103 2060 5.85%
64 108 6912 19.62%
256 92 23552 66.86%

--

RPM found in directory: /vol/rzm1/linux-ibiblio.old/devel/lang/c

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  mpr-2.8-1.i386.rpm
ftp.icm.edu.pl  mpr-2.8-1.i386.rpm
     Search for other platforms
mpr-2.8-1.sparc.rpm
mpr-2.8-1.alpha.rpm
mpr-2.8-1.ppc.rpm
mpr-2.8-1.ia64.rpm
mpr-2.8-1.s390.rpm

Provides :
libmpr.so
mpr

Requires :
gdb
gcc
binutils
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
/bin/sh
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.3)


Content of RPM :
/usr/bin/mpr
/usr/bin/mprchain
/usr/bin/mprdem
/usr/bin/mprfilter
/usr/bin/mprfl
/usr/bin/mprfl-so
/usr/bin/mprhisto
/usr/bin/mprleak
/usr/bin/mprmap
/usr/bin/mprnm
/usr/bin/mprsize
/usr/bin/mprso
/usr/bin/mprwhich
/usr/lib/libmpr.a
/usr/lib/libmpr.so
/usr/share/doc/mpr-2.8
/usr/share/doc/mpr-2.8/BUGS
/usr/share/doc/mpr-2.8/COPYING
/usr/share/doc/mpr-2.8/COPYING.LIB
/usr/share/doc/mpr-2.8/FAQ
/usr/share/doc/mpr-2.8/INSTALL
/usr/share/doc/mpr-2.8/LICENSE
/usr/share/doc/mpr-2.8/LOG
/usr/share/doc/mpr-2.8/README
/usr/share/doc/mpr-2.8/mpr.html
/usr/share/doc/mpr-2.8/mpr.pdf
/usr/share/doc/mpr-2.8/mpr.ps

 
ICM