search for: __cyg_

Displaying 1 result from an estimated 1 matches for "__cyg_".

Did you mean: __cg_
2017 Jul 13
2
How to add custom instrumentation?
...t; On 13. Jul 2017, at 10:57, ORiordan, Martin <martin.oriordan at intel.com> wrote: > > The '-finstrument-functions' option may already be sufficient for your needs. > > When selected this inserts the following two calls on entry-to and exit-from a function: > > __cyg_profile_func_enter(void* this_fn, void* call_site) > __cyg_profile_func_exit(void* this_fn, void* call_site) > > You can then provide a custom implementation of these calls to perform the analysis tasks that you require. > > The two parameters are the address of the function into w...