Setting profiling options

You can set profiling options for the Instrument Collector or the selected analysis types, by highlighting the entity and clicking Edit Option.

Follow the steps below to set profiling options on the Instrument Collector:

  1. Highlight Instrument Collector and click on Edit Option.
  2. On the Filter Set page, specify the filter set that you want applied by selecting from the Select a filter set list. You can use the Default set.

    Picture of the profiling filter page for the instrumentation data collector
  3. Under Contents of selected filter set, click Add to add packages that you want to collect data for. The Add Filter dialog opens. An asterisk * can be used as a wildcard in a pattern when specifying package, class or method names.
    Note 1. When entering a pattern for the package or method name, the pattern must be specified in one of three ways:
    • A pattern with no wildcards, e.g. org.eclipse.tptp.
    • A pattern with a wildcard at the beginning, e.g. *.sample.myapplication.
    • A pattern with a wildcard at the end, e.g. org.eclipse.*.

    Note 2.Click Add to the right of the list of rules to add a new rule to the filter set. Click the Picture of the Filter Wizard button on the Add Filter page to bring up the filter wizard. The filter wizard will help you select the packages, classes, or methods to instrument.
  4. Specify the Package or Class, Method Name and select Include from the Rule drop-down list.
  5. Click OK. The filter criterion is added to the contents list.
  6. To exclude other existing packages from the filter contents list, click on Include under the Rule column for the package, and change it to Exclude.
  7. Click Finish
  8. Click Apply to save the changes.