diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2021-10-05 04:18:42 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2021-12-09 18:52:11 +0000 |
| commit | 67b86b71c19ce44dd98cd63f6f684354cd0f351e (patch) | |
| tree | 07add03c52c16118c57bc6a1cc4f0da100d9b7dd | |
| parent | 8a9278a106bf8f5ac102c4f28d28a8930368227e (diff) | |
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)
| -rw-r--r-- | sys/contrib/ipfilter/netinet/ip_compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |
