/macosx-10.10.1/dtrace-147/libproc/ |
H A D | libproc.h | 57 * The implementation of struct ps_prochandle can change w/o affecting clients. 59 struct ps_prochandle; 93 extern struct ps_prochandle *Pcreate(const char *, char *const *, 97 extern struct ps_prochandle *Pgrab(pid_t, int, int *); 100 extern int Preopen(struct ps_prochandle *); 101 extern void Prelease(struct ps_prochandle *, int); 103 extern int Pstate(struct ps_prochandle *); 104 extern const pstatus_t *Pstatus(struct ps_prochandle *); 105 extern int Psetrun(struct ps_prochandle *, int, int); 106 extern ssize_t Pread(struct ps_prochandle *, voi [all...] |
H A D | libproc_apple.h | 37 * This file exists to expose the innards of ps_prochandle. 54 struct ps_prochandle { struct
|
H A D | libproc.c | 161 static struct ps_prochandle* createProcAndSymbolicator(pid_t pid, task_t task, int* perr, bool should_queue_proc_activity_notices) { 164 struct ps_prochandle* proc = calloc(sizeof(struct ps_prochandle), 1); 233 struct ps_prochandle * 241 struct ps_prochandle* proc = NULL; 383 struct ps_prochandle *Pgrab(pid_t pid, int flags, int *perr) { 384 struct ps_prochandle* proc = NULL; 445 void Prelease(struct ps_prochandle *P, int flags) { 484 int Psetbkpt(struct ps_prochandle *P, uintptr_t addr, ulong_t *instr) { 488 int Pdelbkpt(struct ps_prochandle * [all...] |
/macosx-10.10.1/dtrace-147/head/ |
H A D | proc_service.h | 69 struct ps_prochandle; 74 extern ps_err_e ps_pdmodel(struct ps_prochandle *, int *data_model); 82 extern ps_err_e ps_pglobal_lookup(struct ps_prochandle *, 90 extern ps_err_e ps_pglobal_sym(struct ps_prochandle *, 96 extern ps_err_e ps_pread(struct ps_prochandle *, 98 extern ps_err_e ps_pwrite(struct ps_prochandle *, 105 extern ps_err_e ps_pdread(struct ps_prochandle *, 107 extern ps_err_e ps_pdwrite(struct ps_prochandle *, 109 extern ps_err_e ps_ptread(struct ps_prochandle *, 111 extern ps_err_e ps_ptwrite(struct ps_prochandle *, [all...] |
H A D | rtld_db.h | 171 struct ps_prochandle; 187 extern rd_agent_t *rd_new(struct ps_prochandle *);
|
H A D | dtrace.h | 125 struct ps_prochandle; 371 typedef void dtrace_handle_proc_f(struct ps_prochandle *, const char *, void *); 496 extern struct ps_prochandle *dtrace_proc_create(dtrace_hdl_t *, 499 extern struct ps_prochandle *dtrace_proc_grab(dtrace_hdl_t *, pid_t, int); 500 extern struct ps_prochandle *dtrace_proc_waitfor(dtrace_hdl_t *, char const *); 501 extern void dtrace_proc_release(dtrace_hdl_t *, struct ps_prochandle *); 502 extern void dtrace_proc_continue(dtrace_hdl_t *, struct ps_prochandle *);
|
/macosx-10.10.1/dtrace-147/libdtrace/ |
H A D | dt_pid.h | 49 extern int dt_pid_create_entry_probe(struct ps_prochandle *, dtrace_hdl_t *, 52 extern int dt_pid_create_return_probe(struct ps_prochandle *, dtrace_hdl_t *, 55 extern int dt_pid_create_offset_probe(struct ps_prochandle *, dtrace_hdl_t *, 58 extern int dt_pid_create_glob_offset_probes(struct ps_prochandle *,
|
H A D | dt_proc.h | 45 struct ps_prochandle *dpr_proc; /* proc handle for libproc calls */ 99 extern struct ps_prochandle *dt_proc_create(dtrace_hdl_t *, 102 extern struct ps_prochandle *dt_proc_grab(dtrace_hdl_t *, pid_t, int, int); 103 extern void dt_proc_release(dtrace_hdl_t *, struct ps_prochandle *); 104 extern void dt_proc_continue(dtrace_hdl_t *, struct ps_prochandle *); 105 extern void dt_proc_lock(dtrace_hdl_t *, struct ps_prochandle *); 106 extern void dt_proc_unlock(dtrace_hdl_t *, struct ps_prochandle *); 107 extern dt_proc_t *dt_proc_lookup(dtrace_hdl_t *, struct ps_prochandle *, int);
|
H A D | dt_proc.c | 56 * code and client code and the control thread's use of the ps_prochandle. 96 void Pcheckpoint_syms(struct ps_prochandle *P); 101 struct ps_prochandle *P = dpr->dpr_proc; 293 static struct ps_prochandle * 311 dt_proc_lookup(dtrace_hdl_t *dtp, struct ps_prochandle *P, int remove) 334 dt_proc_destroy(dtrace_hdl_t *dtp, struct ps_prochandle *P) 499 struct ps_prochandle * 535 struct ps_prochandle * 546 * the reference count, and return the existing ps_prochandle. 630 dt_proc_release(dtrace_hdl_t *dtp, struct ps_prochandle * [all...] |
H A D | dt_isadep_arm.c | 48 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 84 dt_pid_create_return_probe32(struct ps_prochandle *P, dtrace_hdl_t *dtp, 409 dt_pid_create_return_probe64(struct ps_prochandle *P, dtrace_hdl_t *dtp, 481 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 495 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 504 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp,
|
H A D | dt_proc_apple.c | 54 extern psaddr_t rd_event_mock_addr(struct ps_prochandle *); // See libproc.m 145 struct ps_prochandle *P = dpr->dpr_proc; 192 * ps_prochandle in the meantime (e.g. ustack()). To do this, we write
|
H A D | dt_isadep_x86.c | 61 dt_pid_create_entry_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 80 dt_pid_has_jump_table(struct ps_prochandle *P, dtrace_hdl_t *dtp, 124 dt_pid_create_return_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 268 dt_pid_create_offset_probe(struct ps_prochandle *P, dtrace_hdl_t *dtp, 350 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp,
|
H A D | dt_pid_apple.c | 47 struct ps_prochandle *dpp_pr;
|
H A D | dt_pid.c | 48 struct ps_prochandle *dpp_pr; 418 dt_pid_fix_mod(dtrace_probedesc_t *pdp, struct ps_prochandle *P, prmap_t* thread_local_map) 548 struct ps_prochandle *P = data; 609 struct ps_prochandle *P = dpr->dpr_proc; 761 struct ps_prochandle *P;
|
H A D | dt_consume.c | 1354 struct ps_prochandle *P; 1487 struct ps_prochandle *P; 1521 struct ps_prochandle *P;
|
H A D | dt_subr.c | 929 struct ps_prochandle *P = NULL;
|
H A D | dt_aggregate.c | 333 struct ps_prochandle *P; 356 struct ps_prochandle *P;
|
/macosx-10.10.1/dtrace-147/plockstat/ |
H A D | plockstat.c | 47 struct ps_prochandle *g_pr; 512 getsym(struct ps_prochandle *P, uintptr_t addr, char *buf, size_t size, 558 struct ps_prochandle *P; 668 prochandler(struct ps_prochandle *P, const char *msg, void *arg)
|
/macosx-10.10.1/dtrace-147/cmd/ |
H A D | dtrace_1.c | 86 static struct ps_prochandle **g_psv; 986 prochandler(struct ps_prochandle *P, const char *msg, void *arg) 1414 struct ps_prochandle *P; 1429 (g_psv = malloc(sizeof (struct ps_prochandle *) * argc)) == NULL)
|