Instrument specific set of functions
Is there any way to instrument specific set of functions using gcc -
option.I see by using this option the whole code will be instrumented.
avoid a function being instrumented by using attribute
My code is arranged in the following way;
folders a,b and c has C source and header files. Here i need to
instrument the functions
present only in folder "b", how can i do that; More over the functions
in "b" might call functions
in "a" or "c", they need to be instrumented as well.Is there any good
way of doing this.
Please point some other features of GCC if there are any.
btw, i am using GCC version 3.4.6 on a 2.6 linux kernel.
Re: Instrument specific set of functions
> Is there any way to instrument specific set of functions using gcc
> finstrument_function option.[/color]
Would it not make sense to use oprofile ?