Print this page
XXX AVX procfs


 115         void    *file_ctf_buf;  /* CTF data for this file */
 116         ctf_file_t *file_ctfp;  /* CTF container for this file */
 117         char    *file_shstrs;   /* section header string table */
 118         size_t  file_shstrsz;   /* section header string table size */
 119         uintptr_t *file_saddrs; /* section header addresses */
 120         uint_t  file_nsaddrs;   /* number of section header addresses */
 121 } file_info_t;
 122 
 123 typedef struct map_info {       /* description of an address space mapping */
 124         prmap_t map_pmap;       /* /proc description of this mapping */
 125         file_info_t *map_file;  /* pointer into list of mapped files */
 126         off64_t map_offset;     /* offset into core file (if core) */
 127         int map_relocate;       /* associated file_map needs to be relocated */
 128 } map_info_t;
 129 
 130 typedef struct lwp_info {       /* per-lwp information from core file */
 131         plist_t lwp_list;       /* linked list */
 132         lwpid_t lwp_id;         /* lwp identifier */
 133         lwpsinfo_t lwp_psinfo;  /* /proc/<pid>/lwp/<lwpid>/lwpsinfo data */
 134         lwpstatus_t lwp_status; /* /proc/<pid>/lwp/<lwpid>/lwpstatus data */

 135 #if defined(sparc) || defined(__sparc)
 136         gwindows_t *lwp_gwins;  /* /proc/<pid>/lwp/<lwpid>/gwindows data */
 137         prxregset_t *lwp_xregs; /* /proc/<pid>/lwp/<lwpid>/xregs data */
 138         int64_t *lwp_asrs;      /* /proc/<pid>/lwp/<lwpid>/asrs data */
 139 #endif
 140 } lwp_info_t;
 141 
 142 typedef struct fd_info {
 143         plist_t fd_list;        /* linked list */
 144         prfdinfo_t fd_info;     /* fd info */
 145 } fd_info_t;
 146 
 147 typedef struct core_info {      /* information specific to core files */
 148         char core_dmodel;       /* data model for core file */
 149         int core_errno;         /* error during initialization if != 0 */
 150         plist_t core_lwp_head;  /* head of list of lwp info */
 151         lwp_info_t *core_lwp;   /* current lwp information */
 152         uint_t core_nlwp;       /* number of lwp's in list */
 153         off64_t core_size;      /* size of core file in bytes */
 154         char *core_platform;    /* platform string from core file */
 155         struct utsname *core_uts;       /* uname(2) data from core file */
 156         prcred_t *core_cred;    /* process credential from core file */
 157         core_content_t core_content;    /* content dumped to core file */




 115         void    *file_ctf_buf;  /* CTF data for this file */
 116         ctf_file_t *file_ctfp;  /* CTF container for this file */
 117         char    *file_shstrs;   /* section header string table */
 118         size_t  file_shstrsz;   /* section header string table size */
 119         uintptr_t *file_saddrs; /* section header addresses */
 120         uint_t  file_nsaddrs;   /* number of section header addresses */
 121 } file_info_t;
 122 
 123 typedef struct map_info {       /* description of an address space mapping */
 124         prmap_t map_pmap;       /* /proc description of this mapping */
 125         file_info_t *map_file;  /* pointer into list of mapped files */
 126         off64_t map_offset;     /* offset into core file (if core) */
 127         int map_relocate;       /* associated file_map needs to be relocated */
 128 } map_info_t;
 129 
 130 typedef struct lwp_info {       /* per-lwp information from core file */
 131         plist_t lwp_list;       /* linked list */
 132         lwpid_t lwp_id;         /* lwp identifier */
 133         lwpsinfo_t lwp_psinfo;  /* /proc/<pid>/lwp/<lwpid>/lwpsinfo data */
 134         lwpstatus_t lwp_status; /* /proc/<pid>/lwp/<lwpid>/lwpstatus data */
 135         prxregset_t *lwp_xregs; /* /proc/<pid>/lwp/<lwpid>/xregs data */
 136 #if defined(sparc) || defined(__sparc)
 137         gwindows_t *lwp_gwins;  /* /proc/<pid>/lwp/<lwpid>/gwindows data */

 138         int64_t *lwp_asrs;      /* /proc/<pid>/lwp/<lwpid>/asrs data */
 139 #endif
 140 } lwp_info_t;
 141 
 142 typedef struct fd_info {
 143         plist_t fd_list;        /* linked list */
 144         prfdinfo_t fd_info;     /* fd info */
 145 } fd_info_t;
 146 
 147 typedef struct core_info {      /* information specific to core files */
 148         char core_dmodel;       /* data model for core file */
 149         int core_errno;         /* error during initialization if != 0 */
 150         plist_t core_lwp_head;  /* head of list of lwp info */
 151         lwp_info_t *core_lwp;   /* current lwp information */
 152         uint_t core_nlwp;       /* number of lwp's in list */
 153         off64_t core_size;      /* size of core file in bytes */
 154         char *core_platform;    /* platform string from core file */
 155         struct utsname *core_uts;       /* uname(2) data from core file */
 156         prcred_t *core_cred;    /* process credential from core file */
 157         core_content_t core_content;    /* content dumped to core file */