Print this page
NEX-13937 Improve kstat performance
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-4425 support KSTAT_DATA_STRING in non-virtual named kstats
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
SMB-50 User-mode SMB server
 Includes work by these authors:
 Thomas Keiser <thomas.keiser@nexenta.com>
 Albert Lee <trisk@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/kstat.h
          +++ new/usr/src/uts/common/sys/kstat.h
↓ open down ↓ 803 lines elided ↑ open up ↑
 804  804  extern void kstat_timer_init(kstat_timer_t *, const char *);
 805  805  extern void kstat_waitq_enter(kstat_io_t *);
 806  806  extern void kstat_waitq_exit(kstat_io_t *);
 807  807  extern void kstat_runq_enter(kstat_io_t *);
 808  808  extern void kstat_runq_exit(kstat_io_t *);
 809  809  extern void kstat_waitq_to_runq(kstat_io_t *);
 810  810  extern void kstat_runq_back_to_waitq(kstat_io_t *);
 811  811  extern void kstat_timer_start(kstat_timer_t *);
 812  812  extern void kstat_timer_stop(kstat_timer_t *);
 813  813  
      814 +extern void kstat_waitq_enter_time(kstat_io_t *, hrtime_t);
      815 +extern void kstat_waitq_exit_time(kstat_io_t *, hrtime_t);
      816 +extern void kstat_runq_enter_time(kstat_io_t *, hrtime_t);
      817 +extern void kstat_runq_exit_time(kstat_io_t *, hrtime_t);
      818 +
 814  819  extern void kstat_zone_add(kstat_t *, zoneid_t);
 815  820  extern void kstat_zone_remove(kstat_t *, zoneid_t);
 816  821  extern int kstat_zone_find(kstat_t *, zoneid_t);
 817  822  
 818  823  extern kstat_t *kstat_hold_bykid(kid_t kid, zoneid_t);
 819  824  extern kstat_t *kstat_hold_byname(const char *, int, const char *, zoneid_t);
 820  825  extern void kstat_rele(kstat_t *);
 821  826  
 822  827  #endif  /* defined(_KERNEL) */
 823  828  
 824  829  #ifdef  __cplusplus
 825  830  }
 826  831  #endif
 827  832  
 828  833  #endif  /* _SYS_KSTAT_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX