Lines Matching refs:agent
109 td_thragent_t * agent;
190 agent = (td_thragent_t *)malloc(sizeof(td_thragent_t));
191 if (!agent) {
195 agent->pid = ps_getpid(proc_handle);
196 agent->ph = proc_handle;
197 *agent_out = agent;
215 td_ta_set_event(td_thragent_t const * agent, td_thr_events_t * events)
246 td_ta_event_getmsg(td_thragent_t const * agent, td_event_msg_t * event)
256 err = td_ta_thr_iter(agent, _event_getmsg_helper, bkpt_addr, 0, 0, NULL, 0);
269 td_ta_map_lwp2thr(td_thragent_t const * agent, lwpid_t lwpid,
272 th->pid = ps_getpid(agent->ph);
302 td_ta_event_addr(td_thragent_t const * agent, td_event_e event, td_notify_t * notify_out)
334 td_ta_thr_iter(td_thragent_t const * agent, td_thr_iter_f * func, void * cookie,
343 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid);
349 handle.pid = agent->pid;