|
From: Josef W. <Jos...@gm...> - 2011-07-12 08:52:54
|
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 |