git: 67b86b71c19c - stable/12 - ipfilter: New DT5 DTrace macro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Dec 2021 19:00:19 UTC
The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=67b86b71c19ce44dd98cd63f6f684354cd0f351e commit 67b86b71c19ce44dd98cd63f6f684354cd0f351e 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:52:11 +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 {