Print this page
2915 DTrace in a zone should see "cpu", "curpsinfo", et al
2916 DTrace in a zone should be able to access fds[]
2917 DTrace in a zone should have limited provider access
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Adam Leventhal <ahl@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/dtrace_subr.c
          +++ new/usr/src/uts/common/os/dtrace_subr.c
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  #endif
  38   38  
  39   39  void (*dtrace_cpu_init)(processorid_t);
  40   40  void (*dtrace_modload)(struct modctl *);
  41   41  void (*dtrace_modunload)(struct modctl *);
  42   42  void (*dtrace_helpers_cleanup)(void);
  43   43  void (*dtrace_helpers_fork)(proc_t *, proc_t *);
  44   44  void (*dtrace_cpustart_init)(void);
  45   45  void (*dtrace_cpustart_fini)(void);
  46   46  void (*dtrace_cpc_fire)(uint64_t);
       47 +void (*dtrace_closef)(void);
  47   48  
  48   49  void (*dtrace_debugger_init)(void);
  49   50  void (*dtrace_debugger_fini)(void);
  50   51  
  51   52  dtrace_vtime_state_t dtrace_vtime_active = 0;
  52   53  dtrace_cacheid_t dtrace_predcache_id = DTRACE_CACHEIDNONE + 1;
  53   54  
  54   55  /*
  55   56   * dtrace_cpc_in_use usage statement: this global variable is used by the cpc
  56   57   * hardware overflow interrupt handler and the kernel cpc framework to check
↓ open down ↓ 281 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX