Method probes versus callsite probes

There are two kinds of probes: method probes and callsite probes.

Whether a probe is a method probe or a callsite probe depends on the probe fragment type. For an annotated list of probe fragment types, see Probe fragment types.

A Probekit source file (probe file) can contain both method probes and callsite probes. An individual probe, however, cannot contain a mixture of method and callsite probe fragments; all probe fragments in a probe must be of the same category.