Collecting Probe Data in the Workbench

You can use the Edit Profiling Set dialog box to select and configure the probes you want to use with a profiling set. The probes will be applied each time you select the profiling set and launch your application in the workbench.

To use probes with a profiling set:

  1. Open the Edit Profiling Set dialog box. To do this, from the main workbench menu in the Profiling and Logging perspective, select Run > Profile.... In the Profile dialog box, select or create a configuration, then select the Profiling page. In the Overview page, select a profiling set and type and click Edit....
  2. In the profiling types tree, expand Probes, then select Probe Insertion. The Probekit Registry is displayed, showing the list of available probes.
  3. Select the check boxes next to the probes you want to apply each time you select the profiling set and launch your application in the workbench.
  4. You can select filter sets for probes that are not pre-filtered. To configure filters for a probe, select it in the list of probes, then click the Filters tab. If you do not specify a filter set for the probe, the probe will use the filters that were specified for the profiling set.
    Note: profiling set filters that you specify on the second page of the Edit Profiling Set dialog box (the page that appears when you click the Next> button) will only be applied to any non-pre-filtered probes that you select, and to other profiling types that you select. Profiling set filters are ignored for pre-filtered probes.
  5. When you are finished selecting and configuring probes, click Finish. The names of the probes you selected are displayed in the profiling set contents list.
    Note: Data collection limits that you specify on the Limits page of the Profiling dialog box do not apply to probes.
  6. To launch and profile your application, click Profile. Your application launches, and profiling begins. The probes you selected are applied according to their filter rules.
    Note: When you use the Attach - Java process launch configuration, the probes will only be applied to classes that load after you attach to the Java™ process. If a class is loaded before you attach, the probes will not be applied to the class.

Parent topic: Applying Probes

Related tasks
Managing your Probekit Registry
Importing a Probe into the Probekit Registry

Related reference
Insert Probes page, Edit Profiling Set dialog box

Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.