Back to index

glibc  2.9
Enumerations | Functions
proc_service.h File Reference
#include <sys/procfs.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  ps_err_e {
  PS_OK, PS_ERR, PS_BADPID, PS_BADLID,
  PS_BADADDR, PS_NOSYM, PS_NOFREGS, PS_OK,
  PS_ERR, PS_BADPID, PS_BADLID, PS_BADADDR,
  PS_NOSYM, PS_NOFREGS
}

Functions

ps_err_e ps_pdread (struct ps_prochandle *, psaddr_t, void *, size_t)
ps_err_e ps_pdwrite (struct ps_prochandle *, psaddr_t, const void *, size_t)
ps_err_e ps_ptread (struct ps_prochandle *, psaddr_t, void *, size_t)
ps_err_e ps_ptwrite (struct ps_prochandle *, psaddr_t, const void *, size_t)
ps_err_e ps_lgetregs (struct ps_prochandle *, lwpid_t, prgregset_t)
ps_err_e ps_lsetregs (struct ps_prochandle *, lwpid_t, const prgregset_t)
ps_err_e ps_lgetfpregs (struct ps_prochandle *, lwpid_t, prfpregset_t *)
ps_err_e ps_lsetfpregs (struct ps_prochandle *, lwpid_t, const prfpregset_t *)
pid_t ps_getpid (struct ps_prochandle *)
ps_err_e ps_get_thread_area (const struct ps_prochandle *, lwpid_t, int, psaddr_t *)
ps_err_e ps_pglobal_lookup (struct ps_prochandle *, const char *object_name, const char *sym_name, psaddr_t *sym_addr)
ps_err_e ps_pstop (const struct ps_prochandle *)
ps_err_e ps_pcontinue (const struct ps_prochandle *)
ps_err_e ps_lstop (const struct ps_prochandle *, lwpid_t)
ps_err_e ps_lcontinue (const struct ps_prochandle *, lwpid_t)

Enumeration Type Documentation

enum ps_err_e
Enumerator:
PS_OK 
PS_ERR 
PS_BADPID 
PS_BADLID 
PS_BADADDR 
PS_NOSYM 
PS_NOFREGS 
PS_OK 
PS_ERR 
PS_BADPID 
PS_BADLID 
PS_BADADDR 
PS_NOSYM 
PS_NOFREGS 

Definition at line 24 of file proc_service.h.

{
  PS_OK,             /* Generic "call succeeded".  */
  PS_ERR,            /* Generic error. */
  PS_BADPID,         /* Bad process handle.  */
  PS_BADLID,         /* Bad LWP identifier.  */
  PS_BADADDR,        /* Bad address.  */
  PS_NOSYM,          /* Could not find given symbol.  */
  PS_NOFREGS         /* FPU register set not available for given LWP.  */
} ps_err_e;

Function Documentation

ps_err_e ps_get_thread_area ( const struct ps_prochandle *  ,
lwpid_t  ,
int  ,
psaddr_t  
)

Here is the caller graph for this function:

pid_t ps_getpid ( struct ps_prochandle *  )
ps_err_e ps_lcontinue ( const struct ps_prochandle *  ,
lwpid_t   
)
ps_err_e ps_lgetfpregs ( struct ps_prochandle *  ,
lwpid_t  ,
prfpregset_t  
)
ps_err_e ps_lgetregs ( struct ps_prochandle *  ,
lwpid_t  ,
prgregset_t   
)
ps_err_e ps_lsetfpregs ( struct ps_prochandle *  ,
lwpid_t  ,
const prfpregset_t  
)
ps_err_e ps_lsetregs ( struct ps_prochandle *  ,
lwpid_t  ,
const prgregset_t   
)
ps_err_e ps_lstop ( const struct ps_prochandle *  ,
lwpid_t   
)
ps_err_e ps_pcontinue ( const struct ps_prochandle *  )
ps_err_e ps_pdread ( struct ps_prochandle *  ,
psaddr_t  ,
void *  ,
size_t   
)
ps_err_e ps_pdwrite ( struct ps_prochandle *  ,
psaddr_t  ,
const void *  ,
size_t   
)
ps_err_e ps_pglobal_lookup ( struct ps_prochandle *  ,
const char *  object_name,
const char *  sym_name,
psaddr_t sym_addr 
)
ps_err_e ps_pstop ( const struct ps_prochandle *  )
ps_err_e ps_ptread ( struct ps_prochandle *  ,
psaddr_t  ,
void *  ,
size_t   
)
ps_err_e ps_ptwrite ( struct ps_prochandle *  ,
psaddr_t  ,
const void *  ,
size_t   
)