|
From: Konstantin S. <kon...@gm...> - 2010-07-13 12:53:48
|
Any suggestion? --kcc On Fri, Jul 9, 2010 at 8:29 PM, Konstantin Serebryany <kon...@gm...> wrote: > Hi, > > Consider an application has its own way of asking memory from OS: > char* my_malloc(size_t size). > Is there a way to steal my_malloc() from the application so that > valgrind core (newSuperblock from coregrind/m_mallocfree.c) can use > this function instead of VG_(am_sbrk_anon_float_*)? > I need this to run valgrind on a system where most of the memory is > allocated to hugepages and hence is not available to > VG_(am_sbrk_anon_float_*). > > Thanks, > > --kcc > |