|
From: <par...@ao...> - 2010-08-04 14:59:38
|
Hi, Is there a way to suppress all stacks originating from a specific function ? For example I have following stack: malloc library function3 library function2 ?? source function4 library function1 source function3 (undefined number of function calls between function 3 and function 2) source function2 source function1 main() Now in suppression file, I want to make such arrangement so that irrespective of number/order of function calls after function2 should get suppressed. Any help would be greatly appreciated. Thanks, Parvez |
|
From: Konstantin S. <kon...@gm...> - 2010-08-04 15:21:46
|
You can use 'frame-level wildcards', see http://valgrind.org/docs/manual/manual-core.html#manual-core.suppress You will need a more-or-less fresh valgrind for that. --kcc On Wed, Aug 4, 2010 at 6:41 PM, <par...@ao...> wrote: > Hi, > > Is there a way to suppress all stacks originating from a specific > function ? > > For example I have following stack: > > malloc > library function3 > library function2 > ?? > source function4 > library function1 > source function3 > (undefined number of function calls between function 3 and function 2) > source function2 > source function1 > main() > > Now in suppression file, I want to make such arrangement so that > irrespective of number/order of function calls after function2 should > get suppressed. Any help would be greatly appreciated. > > Thanks, > Parvez > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > |