Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/common/modules/genunix/thread.h
          +++ new/usr/src/cmd/mdb/common/modules/genunix/thread.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   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + *
       25 + * Copyright (c) 2018, Joyent, Inc.
  24   26   */
  25   27  
  26   28  #ifndef _THREAD_H
  27   29  #define _THREAD_H
  28   30  
  29   31  
  30   32  #include <mdb/mdb_modapi.h>
  31   33  
  32   34  #ifdef  __cplusplus
  33   35  extern "C" {
↓ open down ↓ 17 lines elided ↑ open up ↑
  51   53  void thread_help(void);
  52   54  int threadlist(uintptr_t, uint_t, int, const mdb_arg_t *);
  53   55  void threadlist_help(void);
  54   56  int stackinfo(uintptr_t, uint_t, int, const mdb_arg_t *);
  55   57  void stackinfo_help(void);
  56   58  
  57   59  void thread_state_to_text(uint_t, char *, size_t);
  58   60  int thread_text_to_state(const char *, uint_t *);
  59   61  void thread_walk_states(void (*)(uint_t, const char *, void *), void *);
  60   62  
       63 +int thread_getdesc(uintptr_t, boolean_t, char *, size_t);
       64 +
  61   65  #ifdef  __cplusplus
  62   66  }
  63   67  #endif
  64   68  
  65   69  #endif  /* _THREAD_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX