HomeFreeBSD

sdt: add support for solaris/illumos style DTRACE_PROBE macros
rS258625Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

sdt: add support for solaris/illumos style DTRACE_PROBE macros

The new macros are implemented in terms of SDT_PROBE_DEFINE and SDT_PROBE.
Probes defined in this way will appear under SDT provider named "sdt".
Parameter types are exposed via SDT_PROBE_ARGTYPE.
This is something that illumos does not have by default.

This kind of SDT probes is already present in ZFS code, so those probes
will now be available if KDTRACE_HOOKS options is enabled.

A potential future illumos compatibility enhancement is to encode a provider
name as a prefix in a probe name.

Reviewed by: markj
MFC after: 3 weeks
X-MFC after: r258622

Details

Provenance
avgAuthored on
Parents
rS258624: Empty page for next lection.
Branches
Unknown
Tags
Unknown

Event Timeline