Step 1. Import and prepare the sample probe

  1. Import the sample ARM 4 Probe into your Java™ project:
    1. Select File > Import > File system. Click Next.
    2. Browse to X:\inst_dir\rpa_prod\rpa_comp\eclipse\plugins\com.ibm.rpa.core_a.b.c\probes, where X:\inst_dir is the toolkit installation directory and a.b.c is the version number on the plug-in directory. Select the sampleArm4Inst.probe file. Click Next.
    3. As a destination, select the Java source folder in the application's project. (This is usually the src folder; source folders defined in a project can be reviewed by selecting Properties > Java build path from the project's pop-up menu, and clicking the Source tab.)
    4. Click Finish to import the probe.
  2. It is a good idea to rename the probe since its name will be used globally in the Probekit registry (see Window > Preferences > Profiling and Logging > Probekit Registry).
  3. Convert the application project into a Probekit project so that the probe is compiled, registered, and ready to be used:
    1. Select File > New > Profiling and Logging > Convert Java Projects to Probekit Projects. Click Next.
    2. Select the application project to which you imported the probe.
    3. Click Finish.
  4. Open the probe in the Probekit editor to modify it (see Modifying probes). The sample probe is defined with a prefilter target so that it matches only methods from any package containing the string “samples” (for example, com.mycom.mysamples.ASampleClass would be matched). Modify this target and add additional targets to match only the application code package, class, or ideally the methods that are to be instrumented for transaction performance measurement when the application is profiled. The more specific you can make the targets, the less irrelevant data you will have to ignore when analyzing what is collected.

    Note: The default exclude target is crucial to ensure that the probe does not instrument its own methods and cause endless recursions.

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