On 7/6/2011 10:53 PM, Mohsen Pahlevanzadeh wrote:
> Dear all,
>
> I have a binary file what i compile it with -g.So i need to perform a
> set of action in my computer and see behavior of my file, This mean , i
> need to see functions of run when i perform those set of actions, So i
> need to tell to valgrind : Please print source of which peace of program
> that
> running.(my program is big,for this reason i can't debug and so just see
> name of those function which running,and then i put a hook in those.)
> How i do it?
>
> Yours,
> Mohsen
>

By default valgrind analyzes all code that executes when the program is 
run.  There is no need to tell it which pieces of code to test; it looks 
at all of them.  This of course makes the program run slower.

-- 
     David Chapman         dcchap...@acm.org
     Chapman Consulting -- San Jose, CA


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to