Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2021 14:34:36 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ca8bf28e1ee6 - main - ipfilter: New DT5 DTrace macro
Message-ID:  <202112041434.1B4EYaeF077919@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=ca8bf28e1ee6ff213338c2a111069f5e639ea03a

commit ca8bf28e1ee6ff213338c2a111069f5e639ea03a
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-10-05 04:18:42 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-04 14:33:12 +0000

    ipfilter: New DT5 DTrace macro
    
    Define a new DT5 DTrace macro used to call DTRACE_PROBE5, for use with
    SDT probes with five arguments.
    
    MFC after:      3 days
---
 sys/contrib/ipfilter/netinet/ip_compat.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/contrib/ipfilter/netinet/ip_compat.h b/sys/contrib/ipfilter/netinet/ip_compat.h
index 6bfb323aeb23..4562b0518766 100644
--- a/sys/contrib/ipfilter/netinet/ip_compat.h
+++ b/sys/contrib/ipfilter/netinet/ip_compat.h
@@ -1229,12 +1229,15 @@ typedef	struct	tcpiphdr	tcpiphdr_t;
 					DTRACE_PROBE3(_n,_a,_b,_c,_d,_e,_f)
 # define	DT4(_n,_a,_b,_c,_d,_e,_f,_g,_h) \
 				DTRACE_PROBE4(_n,_a,_b,_c,_d,_e,_f,_g,_h)
+# define	DT5(_n,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j) \
+				DTRACE_PROBE5(_n,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j)
 #else
 # define	DT(_n)
 # define	DT1(_n,_a,_b)
 # define	DT2(_n,_a,_b,_c,_d)
 # define	DT3(_n,_a,_b,_c,_d,_e,_f)
 # define	DT4(_n,_a,_b,_c,_d,_e,_f,_g,_h)
+# define	DT5(_n,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j)
 #endif
 
 struct ip6_routing {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112041434.1B4EYaeF077919>