Hi,
I have been working on a conditional gcov patch, that calls a function
everytime the gcov counter is to be modified, so the function can
decide how to increment the counter.
The function's prototype is :
void __gcov_ctr(gcov_type*) ;
where gcov_type would be, for example, long long depending
ert_on_edge (e, call);
}
/* Emits code to get VALUE to instrument at GSI, and returns the
On Mon, Sep 7, 2009 at 3:51 PM, Hayawardh V wrote:
> Hi,
> I have been working on a conditional gcov patch, that calls a function
> everytime the gcov counter is to be modified, so the function can
Hi,
I am looking to change the edge instrumentation for gcov. Instead of
just incrementing the edge count by 1, I want it to call an (external)
function which determines whether it should increment, and depending
on the answer, increment the edge.
I modified the tree_gen_edge_profiler function in