Suggestions needed for best instrumentation tools for a C project. I actually like to know when control was transferred from a function to another function and therefore I want to do something like instrumenting printf commands at the end and start of each function.
Suggestions needed for best instrumentation tools for a C project. I actually like to
Share
If you use GCC as a compiler, it has a
-finstrument-functionsoption that automatically generates calls on entering and leaving functions.This allows customization of what you try to instrument.