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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/proc/prdata.h
          +++ new/usr/src/uts/common/fs/proc/prdata.h
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   */
  21   21  /*
  22   22   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26   26  /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
  27   27  /*        All Rights Reserved   */
  28   28  
  29   29  /*
  30      - * Copyright (c) 2013, Joyent, Inc. All rights reserved.
       30 + * Copyright 2018 Joyent, Inc.
  31   31   */
  32   32  
  33   33  #ifndef _SYS_PROC_PRDATA_H
  34   34  #define _SYS_PROC_PRDATA_H
  35   35  
  36   36  #include <sys/isa_defs.h>
  37   37  #include <sys/proc.h>
  38   38  #include <sys/vnode.h>
  39   39  #include <sys/prsystm.h>
  40   40  #include <sys/model.h>
↓ open down ↓ 88 lines elided ↑ open up ↑
 129  129          PR_WATCH,               /* /proc/<pid>/watch                    */
 130  130          PR_CURDIR,              /* /proc/<pid>/cwd                      */
 131  131          PR_ROOTDIR,             /* /proc/<pid>/root                     */
 132  132          PR_FDDIR,               /* /proc/<pid>/fd                       */
 133  133          PR_FD,                  /* /proc/<pid>/fd/nn                    */
 134  134          PR_OBJECTDIR,           /* /proc/<pid>/object                   */
 135  135          PR_OBJECT,              /* /proc/<pid>/object/xxx               */
 136  136          PR_LWPDIR,              /* /proc/<pid>/lwp                      */
 137  137          PR_LWPIDDIR,            /* /proc/<pid>/lwp/<lwpid>              */
 138  138          PR_LWPCTL,              /* /proc/<pid>/lwp/<lwpid>/lwpctl       */
      139 +        PR_LWPNAME,             /* /proc/<pid>/lwp/<lwpid>/lwpname      */
 139  140          PR_LWPSTATUS,           /* /proc/<pid>/lwp/<lwpid>/lwpstatus    */
 140  141          PR_LWPSINFO,            /* /proc/<pid>/lwp/<lwpid>/lwpsinfo     */
 141  142          PR_LWPUSAGE,            /* /proc/<pid>/lwp/<lwpid>/lwpusage     */
 142  143          PR_XREGS,               /* /proc/<pid>/lwp/<lwpid>/xregs        */
 143  144          PR_TMPLDIR,             /* /proc/<pid>/lwp/<lwpid>/templates    */
 144  145          PR_TMPL,                /* /proc/<pid>/lwp/<lwpid>/templates/<id> */
 145  146          PR_SPYMASTER,           /* /proc/<pid>/lwp/<lwpid>/spymaster    */
 146  147  #if defined(__sparc)
 147  148          PR_GWINDOWS,            /* /proc/<pid>/lwp/<lwpid>/gwindows     */
 148  149          PR_ASRS,                /* /proc/<pid>/lwp/<lwpid>/asrs         */
↓ open down ↓ 204 lines elided ↑ open up ↑
 353  354  extern  void    prunmark(proc_t *);
 354  355  extern  void    prunlock(prnode_t *);
 355  356  extern  size_t  prpdsize(struct as *);
 356  357  extern  int     prpdread(proc_t *, uint_t, struct uio *);
 357  358  extern  size_t  oprpdsize(struct as *);
 358  359  extern  int     oprpdread(struct as *, uint_t, struct uio *);
 359  360  extern  void    prgetaction(proc_t *, user_t *, uint_t, struct sigaction *);
 360  361  extern  void    prgetusage(kthread_t *, struct prhusage *);
 361  362  extern  void    praddusage(kthread_t *, struct prhusage *);
 362  363  extern  void    prcvtusage(struct prhusage *, prusage_t *);
 363      -extern  void    prscaleusage(prhusage_t *);
      364 +extern  void    prscaleusage(prhusage_t *);
 364  365  extern  kthread_t *prchoose(proc_t *);
 365  366  extern  void    allsetrun(proc_t *);
 366  367  extern  int     setisempty(uint32_t *, uint_t);
 367  368  extern  int     pr_u32tos(uint32_t, char *, int);
 368  369  extern  vnode_t *prlwpnode(prnode_t *, uint_t);
 369  370  extern  prnode_t *prgetnode(vnode_t *, prnodetype_t);
 370  371  extern  void    prfreenode(prnode_t *);
 371  372  extern  void    pr_object_name(char *, vnode_t *, struct vattr *);
 372  373  extern  int     set_watched_area(proc_t *, struct watched_area *);
 373  374  extern  int     clear_watched_area(proc_t *, struct watched_area *);
↓ open down ↓ 44 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX