Creating Custom DTrace Consumers

You can create custom DTrace consumers when you want to modify the default operation of the DTrace framework. The following list provides a few scenarios when you want to create custom DTrace consumer:

  • Modify the format or frequency of the default dtrace output format.

  • Change the sort order of the output when using an aggregation.

  • Simplify the parsing of dtrace output.

For more information, see the libdtrace(3LIB) man page.