11.2 profile Provider

The profile provider includes probes that are associated with an interrupt that fires at some regular, specified time interval. Such probes are not associated with any particular point of execution, but rather with the asynchronous interrupt event. You can use these probes to sample some aspect of the system state and then use the samples to infer system behavior. If the sampling rate is high or the sampling time is long, an accurate inference is possible. Using DTrace actions, you can use the profile provider to sample practically any aspect of the system. For example, you could sample the state of the current thread, the state of the CPU, or the current machine instruction.