Print this page
2916 DTrace in a zone should be able to access fds[]

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/dtrace.h
          +++ new/usr/src/uts/common/sys/dtrace.h
↓ open down ↓ 279 lines elided ↑ open up ↑
 280  280  #define DIF_SUBR_HTONL                  36
 281  281  #define DIF_SUBR_HTONLL                 37
 282  282  #define DIF_SUBR_NTOHS                  38
 283  283  #define DIF_SUBR_NTOHL                  39
 284  284  #define DIF_SUBR_NTOHLL                 40
 285  285  #define DIF_SUBR_INET_NTOP              41
 286  286  #define DIF_SUBR_INET_NTOA              42
 287  287  #define DIF_SUBR_INET_NTOA6             43
 288  288  #define DIF_SUBR_TOUPPER                44
 289  289  #define DIF_SUBR_TOLOWER                45
      290 +#define DIF_SUBR_GETF                   46
 290  291  
 291      -#define DIF_SUBR_MAX                    45      /* max subroutine value */
      292 +#define DIF_SUBR_MAX                    46      /* max subroutine value */
 292  293  
 293  294  typedef uint32_t dif_instr_t;
 294  295  
 295  296  #define DIF_INSTR_OP(i)                 (((i) >> 24) & 0xff)
 296  297  #define DIF_INSTR_R1(i)                 (((i) >> 16) & 0xff)
 297  298  #define DIF_INSTR_R2(i)                 (((i) >>  8) & 0xff)
 298  299  #define DIF_INSTR_RD(i)                 ((i) & 0xff)
 299  300  #define DIF_INSTR_RS(i)                 ((i) & 0xff)
 300  301  #define DIF_INSTR_LABEL(i)              ((i) & 0xffffff)
 301  302  #define DIF_INSTR_VAR(i)                (((i) >>  8) & 0xffff)
↓ open down ↓ 1934 lines elided ↑ open up ↑
2236 2237  extern void dtrace_membar_producer(void);
2237 2238  extern void dtrace_membar_consumer(void);
2238 2239  
2239 2240  extern void (*dtrace_cpu_init)(processorid_t);
2240 2241  extern void (*dtrace_modload)(struct modctl *);
2241 2242  extern void (*dtrace_modunload)(struct modctl *);
2242 2243  extern void (*dtrace_helpers_cleanup)();
2243 2244  extern void (*dtrace_helpers_fork)(proc_t *parent, proc_t *child);
2244 2245  extern void (*dtrace_cpustart_init)();
2245 2246  extern void (*dtrace_cpustart_fini)();
     2247 +extern void (*dtrace_closef)();
2246 2248  
2247 2249  extern void (*dtrace_debugger_init)();
2248 2250  extern void (*dtrace_debugger_fini)();
2249 2251  extern dtrace_cacheid_t dtrace_predcache_id;
2250 2252  
2251 2253  extern hrtime_t dtrace_gethrtime(void);
2252 2254  extern void dtrace_sync(void);
2253 2255  extern void dtrace_toxic_ranges(void (*)(uintptr_t, uintptr_t));
2254 2256  extern void dtrace_xcall(processorid_t, dtrace_xcall_t, void *);
2255 2257  extern void dtrace_vpanic(const char *, __va_list);
↓ open down ↓ 48 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX