Part Number: TI-CGT
Hi All,
I am using the --entry_hook and --exit_hook options for profiling my code. It's great. I can enable hooks on a per project or per file basis easily. Additionally, I know how to disable hooks for specific function by using the #PRAGMA NO_HOOKS() directive. However, it can get onerous to add the NO_HOOKS directive to every function in a file if I only want to profile a subset of the functions.
Is there an easy way to tell the linker to only enable the entry/exit hooks on a per function basis? I.e. Opt in to profiling instead of Opt out?
Thanks,
-Colin