History log of /freebsd-current/share/dtrace/mbuf.d
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# a134ebd6 05-Aug-2020 Andrey V. Elsukov <ae@FreeBSD.org>

Synchronize definitions in mbuf.d with values from mbuf.h

Obtained from: Yandex LLC
Sponsored by: Yandex LLC


# d96700a6 03-Sep-2016 Mark Johnston <markj@FreeBSD.org>

Remove redefinitions of some kernel types from mbuf.d.

These override the kernel's definitions and do not match in some cases,
which can break scripts that use these types. With r305055, dtrace is able
to trace fields of struct mbuf's anonymous structs and unions, so there is
no need to redefine types already defined in CTF.

MFC after: 3 days


# c94c8223 24-Mar-2016 George V. Neville-Neil <gnn@FreeBSD.org>

Remove dependency on mbuf provider as mbuf SDTs are now in the SDT space.

Sponsored by: Rubicon Communications (Netgate)


# 480f4e94 22-Mar-2016 George V. Neville-Neil <gnn@FreeBSD.org>

Add an mbuf provider to DTrace.

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