Hi,

Is there a mechanism  in valgrind to  entirely skip memcheck on a
particular function?
I  would like memcheck to ignore a particular function because of the
slowness associated  when the  function is executed under valgrind.
I tried compiling my program with :
VALGRIND_DISABLE_ERROR_REPORTING
func();
VALGRIND_ENABLE_ERROR_REPORTING
This doesn't solve the issue as it merely disables reporting errors.

I suppose using VALGRIND_NON_SIMD_CALL is an option but am hesistant
because of the header caveat on its usage:
"Note that these client requests are not entirely reliable. "


I looked at the user manual but wasn't able to  locate any other relevant
macro.

Thanks
-- 
-Rukhsana
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to