On Tue, 2012-04-03 at 22:06 +0200, ольга крыжановская wrote: > How do I use custom memory allocators with valgrind? We'd like to use > the memory allocators from AT&T libast but also like to use valgrind > for (automated) error checking. Is there any howto document how to do > this? > > Olga
http://www.valgrind.org/docs/manual/mc-manual.html#mc-manual.mempools describes what Valgrind provides for "real" custom allocators. Now, if libast provides a set of malloc/free/... compatible functions, then you should rather modify Valgrind to intercept these replacement. See bug https://bugs.kde.org/show_bug.cgi?id=219156 for a patch implementing replacements for tcmalloc library. Philippe ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users