Home
last modified time | relevance | path

Searched refs:agent (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/android/libthread_db/
Dlibthread_db.c39 td_thragent_t* agent = (td_thragent_t*) calloc(1, sizeof(td_thragent_t)); in td_ta_new() local
40 if (!agent) { in td_ta_new()
44 agent->pid = ps_getpid(proc_handle); in td_ta_new()
45 agent->ph = proc_handle; in td_ta_new()
46 *agent_out = agent; in td_ta_new()
57 td_err_e td_ta_map_lwp2thr(td_thragent_t const* agent, lwpid_t lwpid, td_thrhandle_t* th) { in td_ta_map_lwp2thr() argument
58 th->pid = ps_getpid(agent->ph); in td_ta_map_lwp2thr()
63 td_err_e td_ta_thr_iter(td_thragent_t const* agent, in td_ta_thr_iter() argument
76 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid); in td_ta_thr_iter()
82 handle.pid = agent->pid; in td_ta_thr_iter()
[all …]
Dthread_db.h144 extern td_err_e td_ta_set_event(td_thragent_t const * agent, td_thr_events_t * event);
146 extern td_err_e td_ta_event_addr(td_thragent_t const * agent, td_event_e event, td_notify_t * notif…
151 extern td_err_e td_ta_event_getmsg(td_thragent_t const * agent, td_event_msg_t * event);
153 extern td_err_e td_ta_map_lwp2thr(td_thragent_t const * agent, lwpid_t lwpid,
162 extern td_err_e td_ta_thr_iter(td_thragent_t const * agent, td_thr_iter_f * func, void * cookie,