dtrace_callout_execute4
A dtrace provider for the callout api
Usage
callout_execute:kernel::callout_start
callout_execute:kernel::callout_end
Overview
The callout_execute provider allows for tracing the callout(9) mechanism.
The callout_execute:kernel::callout_start probe fires just before a callout.
The callout_execute:kernel::callout_end probe fires right after a callout.
The only argument to the callout_execute probes, args[0], is a callout handler struct callout * of the invoked callout.
Examples
Example 1: Graph of Callout Execution Time
The following d(7) script generates a distribution graph of callout(9) execution times:
callout_execute:::callout_start
{
self->cstart = timestamp;
}
callout_execute:::callout_end
{
@length = quantize(timestamp - self->cstart);
}
Releases
Unchanged in 4 releases since FreeBSD 14.4-RELEASE.