summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbuf.h
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2016-03-24 08:26:06 +0000
committergnn <gnn@FreeBSD.org>2016-03-24 08:26:06 +0000
commit77a2ccb155394a578fd2937787b0f31249ac469d (patch)
tree709a4155d23279ab0275ff8167499c2fa8e6fcbf /sys/sys/mbuf.h
parent7f509af439e891137ff6c88218ee2c0a4e568bb8 (diff)
downloadFreeBSD-src-77a2ccb155394a578fd2937787b0f31249ac469d.zip
FreeBSD-src-77a2ccb155394a578fd2937787b0f31249ac469d.tar.gz
Move mbuf provider under SDT to indicate that it is FreeBSD specific
and not a stable interface. Reviewed by: markj MFC after: 2 weeks Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D5716
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r--sys/sys/mbuf.h32
1 files changed, 15 insertions, 17 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index f81ba0f..1df3e10 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -48,27 +48,25 @@
#include <sys/sdt.h>
#define MBUF_PROBE1(probe, arg0) \
- SDT_PROBE1(mbuf, , , probe, arg0)
+ SDT_PROBE1(sdt, , , probe, arg0)
#define MBUF_PROBE2(probe, arg0, arg1) \
- SDT_PROBE2(mbuf, , , probe, arg0, arg1)
+ SDT_PROBE2(sdt, , , probe, arg0, arg1)
#define MBUF_PROBE3(probe, arg0, arg1, arg2) \
- SDT_PROBE3(mbuf, , , probe, arg0, arg1, arg2)
+ SDT_PROBE3(sdt, , , probe, arg0, arg1, arg2)
#define MBUF_PROBE4(probe, arg0, arg1, arg2, arg3) \
- SDT_PROBE4(mbuf, , , probe, arg0, arg1, arg2, arg3)
+ SDT_PROBE4(sdt, , , probe, arg0, arg1, arg2, arg3)
#define MBUF_PROBE5(probe, arg0, arg1, arg2, arg3, arg4) \
- SDT_PROBE5(mbuf, , , probe, arg0, arg1, arg2, arg3, arg4)
-
-SDT_PROVIDER_DECLARE(mbuf);
-
-SDT_PROBE_DECLARE(mbuf, , , m__init);
-SDT_PROBE_DECLARE(mbuf, , , m__gethdr);
-SDT_PROBE_DECLARE(mbuf, , , m__get);
-SDT_PROBE_DECLARE(mbuf, , , m__getcl);
-SDT_PROBE_DECLARE(mbuf, , , m__clget);
-SDT_PROBE_DECLARE(mbuf, , , m__cljget);
-SDT_PROBE_DECLARE(mbuf, , , m__cljset);
-SDT_PROBE_DECLARE(mbuf, , , m__free);
-SDT_PROBE_DECLARE(mbuf, , , m__freem);
+ SDT_PROBE5(sdt, , , probe, arg0, arg1, arg2, arg3, arg4)
+
+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__clget);
+SDT_PROBE_DECLARE(sdt, , , m__cljget);
+SDT_PROBE_DECLARE(sdt, , , m__cljset);
+SDT_PROBE_DECLARE(sdt, , , m__free);
+SDT_PROBE_DECLARE(sdt, , , m__freem);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud