Add m__getjcl SDT probe.

Obtained from:	Yandex LLC
MFC after:	1 week
Sponsored by:	Yandex LLC
This commit is contained in:
Andrey V. Elsukov 2020-08-05 11:39:09 +00:00
parent 75050aa9af
commit edde7a538b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363906
3 changed files with 9 additions and 0 deletions

View File

@ -1397,6 +1397,7 @@ m_getjcl(int how, short type, int flags, int size)
uma_zfree(zone_mbuf, m);
return (NULL);
}
MBUF_PROBE5(m__getjcl, how, type, flags, size, m);
return (m);
}

View File

@ -78,6 +78,13 @@ SDT_PROBE_DEFINE4_XLATE(sdt, , , m__getcl,
"uint32_t", "uint32_t",
"struct mbuf *", "mbufinfo_t *");
SDT_PROBE_DEFINE5_XLATE(sdt, , , m__getjcl,
"uint32_t", "uint32_t",
"uint16_t", "uint16_t",
"uint32_t", "uint32_t",
"uint32_t", "uint32_t",
"struct mbuf *", "mbufinfo_t *");
SDT_PROBE_DEFINE3_XLATE(sdt, , , m__clget,
"struct mbuf *", "mbufinfo_t *",
"uint32_t", "uint32_t",

View File

@ -65,6 +65,7 @@ SDT_PROBE_DECLARE(sdt, , , m__init);
SDT_PROBE_DECLARE(sdt, , , m__gethdr);
SDT_PROBE_DECLARE(sdt, , , m__get);
SDT_PROBE_DECLARE(sdt, , , m__getcl);
SDT_PROBE_DECLARE(sdt, , , m__getjcl);
SDT_PROBE_DECLARE(sdt, , , m__clget);
SDT_PROBE_DECLARE(sdt, , , m__cljget);
SDT_PROBE_DECLARE(sdt, , , m__cljset);