The mbuf provider is made up of a set of Statically Defined Tracepoints which help us look into mbufs as they are allocated and freed. This can be used to inspect the buffers or for a simplified mbuf leak detector. New tracepoints are: mbuf:::m-init mbuf:::m-gethdr mbuf:::m-get mbuf:::m-getcl mbuf:::m-clget mbuf:::m-cljget mbuf:::m-cljset mbuf:::m-free mbuf:::m-freem There is also a translator for mbufs which gives some visibility into the structure, see mbuf.d for more details. Reviewed by: bz, markj MFC after: 2 weeks Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D5682
$FreeBSD$ This directory contains scripts for use with the DTrace system. The toolkit/ directory installs the latest vendor import of Brendan Gregg's DTraceToolkit while the other files and directories contain code generated by the FreeBSD Project for use with DTrace on FreeBSD. NOTE: Do not add new scripts to the toolkit directory. New DTraceToolkit scripts should be send to the maintainer of the toolkit and then brought back into FreeBSD via future vendor imports.