Creating and editing probes

Probes can be saved in any Java project, in any folder that is designated as a source folder.

You can create a probe as a resource in a Java project, or you can create a Java project that only contains probes.

To create or edit a probe:
  1. If you are creating a new probe, select File > New > Other > Simple > File. If you are editing an existing probe, double-click the probe.
  2. Use the text editor to create or edit a probe in xml format, using the sample probe as a model. If you intend to use multiple probes simultaneously, you can combine them into a single file.
    Note: All probes must have the following first line: <?xml version="1.0" encoding="ASCII"?>
  3. Save the probe in a source folder of a Java project using a filename with the extension .probe.

Parent topic: Creating and using probes

Next topic: Compiling probes

Related concepts
Method probes versus callsite probes

Related reference
The Probekit object

Related information
A basic sample probe

Copyright IBM Corporation and others 2000, 2004.