git: a0ff553e0128 - stable/13 - ipfilter: New DT5 DTrace macro

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Thu, 09 Dec 2021 18:58:57 UTC
The branch stable/13 has been updated by cy:

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

commit a0ff553e012827d645ffe4c004de148b07eafddf
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2021-10-05 04:18:42 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2021-12-09 18:50:22 +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.
    
    (cherry picked from commit ca8bf28e1ee6ff213338c2a111069f5e639ea03a)
---
 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 {