dtrace_callout_execute(4)

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.

  1. 14.4–16.0

Authors

The callout_execute provider was written by Robert N. M. Watson ⟨[email protected]⟩.

This manual page was written by Mateusz Piotrowski ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.