On Tuesday 12 July 2011, David Granchinho wrote:
> Hi! I'm currently trying to develop a simple profiling tool on top of
> callgrind. I've created a structure that contains information about
> every executed block and its memory accesses. To do that, every time
> the function callgrind/bbcc.c/CLG_(setup_bbcc) is called I add a new
> block to that structure and then go through every statement of that
> block

There must be something wrong here. CLG_(setup_bbcc) is a function
which is instrumented to be called at run time whenever a BB is to
be executed. If you added code to that function, you can not
have access to the statements as you cited.

Josef


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to