This example demonstrates some of the most commonly used parts of a probe definition.
In the example, the probe adds 1 to a counter each time a probed method is called. At the first call to a probed method and then at every 1000th method call, it uses System.out.println to show the counter value and the name of the method that caused the counter to roll over.
This probe is defined by the following entries in the Probekit editor:
static public int entry_counter = 0;