Print this page
3903 DTrace SCTP Provider

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/sdt.h
          +++ new/usr/src/uts/common/sys/sdt.h
↓ open down ↓ 324 lines elided ↑ open up ↑
 325  325  #define DTRACE_UDP4(name, type1, arg1, type2, arg2,                     \
 326  326      type3, arg3, type4, arg4)                                           \
 327  327          DTRACE_PROBE4(__udp_##name, type1, arg1, type2, arg2,           \
 328  328              type3, arg3, type4, arg4);
 329  329  
 330  330  #define DTRACE_UDP5(name, type1, arg1, type2, arg2,                     \
 331  331      type3, arg3, type4, arg4, type5, arg5)                              \
 332  332          DTRACE_PROBE5(__udp_##name, type1, arg1, type2, arg2,           \
 333  333              type3, arg3, type4, arg4, type5, arg5);
 334  334  
      335 +#define DTRACE_SCTP(name)                                               \
      336 +        DTRACE_PROBE(__sctp_##name);
      337 +
      338 +#define DTRACE_SCTP1(name, type1, arg1)                                 \
      339 +        DTRACE_PROBE1(__sctp_##name, type1, arg1);
      340 +
      341 +#define DTRACE_SCTP2(name, type1, arg1, type2, arg2)                    \
      342 +        DTRACE_PROBE2(__sctp_##name, type1, arg1, type2, arg2);
      343 +
      344 +#define DTRACE_SCTP3(name, type1, arg1, type2, arg2, type3, arg3)       \
      345 +        DTRACE_PROBE3(__sctp_##name, type1, arg1, type2, arg2, type3, arg3);
      346 +
      347 +#define DTRACE_SCTP4(name, type1, arg1, type2, arg2,                    \
      348 +    type3, arg3, type4, arg4)                                           \
      349 +        DTRACE_PROBE4(__sctp_##name, type1, arg1, type2, arg2,          \
      350 +            type3, arg3, type4, arg4);
      351 +
      352 +#define DTRACE_SCTP5(name, type1, arg1, type2, arg2,                    \
      353 +    type3, arg3, type4, arg4, type5, arg5)                              \
      354 +        DTRACE_PROBE5(__sctp_##name, type1, arg1, type2, arg2,          \
      355 +            type3, arg3, type4, arg4, type5, arg5);
      356 +
      357 +#define DTRACE_SCTP6(name, type1, arg1, type2, arg2,                    \
      358 +    type3, arg3, type4, arg4, type5, arg5, type6, arg6)                 \
      359 +        DTRACE_PROBE6(__sctp_##name, type1, arg1, type2, arg2,          \
      360 +            type3, arg3, type4, arg4, type5, arg5, type6, arg6);
 335  361  
 336  362  #define DTRACE_SYSEVENT2(name, type1, arg1, type2, arg2)                \
 337  363          DTRACE_PROBE2(__sysevent_##name, type1, arg1, type2, arg2);
 338  364  
 339  365  #define DTRACE_XPV(name)                                                \
 340  366          DTRACE_PROBE(__xpv_##name);
 341  367  
 342  368  #define DTRACE_XPV1(name, type1, arg1)                                  \
 343  369          DTRACE_PROBE1(__xpv_##name, type1, arg1);
 344  370  
↓ open down ↓ 95 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX