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_pglobal_lookup (struct ps_prochandle *, const char *object_name, const char *sym_name, psaddr_t *sym_addr)
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_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 22 of file proc_service.h.

{
  PS_OK,          /* generic "call succeeded" */
  PS_ERR,         /* generic. */
  PS_BADPID,      /* bad process handle */
  PS_BADLID,      /* bad lwp identifier */
  PS_BADADDR,     /* bad address */
  PS_NOSYM,       /* p_lookup() could not find given symbol */
        PS_NOFREGS
  /*
   * FPU register set not available for given
   * lwp
   */
}       ps_err_e;

Function Documentation

pid_t ps_getpid ( struct ps_prochandle *  )

Here is the caller graph for this function:

ps_err_e ps_lcontinue ( const struct ps_prochandle *  ,
lwpid_t   
)
ps_err_e ps_lgetfpregs ( struct ps_prochandle *  ,
lwpid_t  ,
prfpregset_t  
)

Here is the caller graph for this function:

ps_err_e ps_lgetregs ( struct ps_prochandle *  ,
lwpid_t  ,
prgregset_t   
)

Here is the caller graph for this function:

ps_err_e ps_lsetfpregs ( struct ps_prochandle *  ,
lwpid_t  ,
const prfpregset_t  
)

Here is the caller graph for this function:

ps_err_e ps_lsetregs ( struct ps_prochandle *  ,
lwpid_t  ,
const prgregset_t   
)

Here is the caller graph for this function:

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   
)

Here is the caller graph for this function:

ps_err_e ps_pdwrite ( struct ps_prochandle *  ,
psaddr_t  ,
const void *  ,
size_t   
)

Here is the caller graph for this function:

ps_err_e ps_pglobal_lookup ( struct ps_prochandle *  ,
const char *  object_name,
const char *  sym_name,
psaddr_t sym_addr 
)

Here is the caller graph for this function:

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   
)