Question:
How can I define which functions in code should be inspected? I do not want all Library-Functions will be inspected, monitored or counted etc.
Answer:
You can use the Profiling Preferences dialog box to specify preferences for the Profiling view.
Please follow the below steps to add specific function that need to be inspected in profiling view:
1.Open Linear and Statistical Profiling Preferences dialog box by clicking (Preferences) on the Profiling view toolbar, menu, or context menu. The dialog box includes the Display and Filter pages.
2.Click in filter tab.Then select "C/C++functions" checkbox. When enabled, specifies that only C/C++ functions are profiled. Any samples not associated with the specified functions are ignored.
3.To add a function to the table, click Add (next to the function table). The Add command opens the Add Functions dialog box from which to select functions to profile.
Please refer the attached screenshot add_function_names.JPG for your reference.