Print this page
OS-11 rcapd behaves poorly when under extreme load

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rcap/common/utils.h
          +++ new/usr/src/cmd/rcap/common/utils.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + * Copyright (c) 2011, Joyent, Inc. All rights reserved.
  24   25   */
  25   26  
  26   27  #ifndef _UTILS_H
  27   28  #define _UTILS_H
  28   29  
  29   30  #include <assert.h>
  30   31  #include <libintl.h>
  31   32  #include <stdarg.h>
  32   33  #include <time.h>
  33   34  #include <libzonecfg.h>
↓ open down ↓ 57 lines elided ↑ open up ↑
  91   92  extern rcm_level_t get_message_priority(void);
  92   93  extern rcm_level_t set_message_priority(rcm_level_t);
  93   94  extern rcm_dst_t set_message_destination(rcm_dst_t);
  94   95  extern char *setpname(char *);
  95   96  extern void warn(const char *, ...);
  96   97  extern int valid_abspath(char *);
  97   98  extern void vdprintfe(int, const char *, va_list);
  98   99  extern void dprintfe(int, char *, ...);
  99  100  extern void hrt2ts(hrtime_t, timestruc_t *);
 100  101  extern int xatoi(char *);
 101      -extern int get_running_zones(uint_t *, zone_entry_t **);
 102  102  
 103  103  #ifdef  __cplusplus
 104  104  }
 105  105  #endif
 106  106  
 107  107  #endif  /* _UTILS_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX