|
From: David C. <dcc...@ac...> - 2011-07-07 07:58:08
|
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 dcc...@ac...
Chapman Consulting -- San Jose, CA
|